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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackAppManifestSettingsEventSubscriptions
Auto Trait Implementations§
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