pub struct SlackAppManifestSettingsEventSubscriptions {
pub request_url: Option<Url>,
pub bot_events: Option<Vec<SlackEventType>>,
pub user_events: Option<Vec<SlackEventType>>,
}
Fields§
§request_url: Option<Url>
§bot_events: Option<Vec<SlackEventType>>
§user_events: Option<Vec<SlackEventType>>
Implementations§
Source§impl SlackAppManifestSettingsEventSubscriptions
impl SlackAppManifestSettingsEventSubscriptions
pub fn new() -> Self
pub fn request_url(&mut self, value: Url) -> &mut Self
pub fn reset_request_url(&mut self) -> &mut Self
pub fn mopt_request_url(&mut self, value: Option<Url>) -> &mut Self
pub fn with_request_url(self, value: Url) -> Self
pub fn without_request_url(self) -> Self
pub fn opt_request_url(self, value: Option<Url>) -> Self
pub fn bot_events(&mut self, value: Vec<SlackEventType>) -> &mut Self
pub fn reset_bot_events(&mut self) -> &mut Self
pub fn mopt_bot_events( &mut self, value: Option<Vec<SlackEventType>>, ) -> &mut Self
pub fn with_bot_events(self, value: Vec<SlackEventType>) -> Self
pub fn without_bot_events(self) -> Self
pub fn opt_bot_events(self, value: Option<Vec<SlackEventType>>) -> Self
pub fn user_events(&mut self, value: Vec<SlackEventType>) -> &mut Self
pub fn reset_user_events(&mut self) -> &mut Self
pub fn mopt_user_events( &mut self, value: Option<Vec<SlackEventType>>, ) -> &mut Self
pub fn with_user_events(self, value: Vec<SlackEventType>) -> Self
pub fn without_user_events(self) -> Self
pub fn opt_user_events(self, value: Option<Vec<SlackEventType>>) -> Self
Trait Implementations§
Source§impl Clone for SlackAppManifestSettingsEventSubscriptions
impl Clone for SlackAppManifestSettingsEventSubscriptions
Source§fn clone(&self) -> SlackAppManifestSettingsEventSubscriptions
fn clone(&self) -> SlackAppManifestSettingsEventSubscriptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for SlackAppManifestSettingsEventSubscriptions
impl<'de> Deserialize<'de> for SlackAppManifestSettingsEventSubscriptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SlackAppManifestSettingsEventSubscriptionsInit> for SlackAppManifestSettingsEventSubscriptions
impl From<SlackAppManifestSettingsEventSubscriptionsInit> for SlackAppManifestSettingsEventSubscriptions
Source§fn from(value: SlackAppManifestSettingsEventSubscriptionsInit) -> Self
fn from(value: SlackAppManifestSettingsEventSubscriptionsInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAppManifestSettingsEventSubscriptions
impl PartialEq for SlackAppManifestSettingsEventSubscriptions
Source§fn eq(&self, other: &SlackAppManifestSettingsEventSubscriptions) -> bool
fn eq(&self, other: &SlackAppManifestSettingsEventSubscriptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackAppManifestSettingsEventSubscriptions
Auto Trait Implementations§
impl Freeze for SlackAppManifestSettingsEventSubscriptions
impl RefUnwindSafe for SlackAppManifestSettingsEventSubscriptions
impl Send for SlackAppManifestSettingsEventSubscriptions
impl Sync for SlackAppManifestSettingsEventSubscriptions
impl Unpin for SlackAppManifestSettingsEventSubscriptions
impl UnwindSafe for SlackAppManifestSettingsEventSubscriptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)