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
sourceimpl 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
sourceimpl Clone for SlackAppManifestSettingsEventSubscriptions
impl Clone for SlackAppManifestSettingsEventSubscriptions
sourcefn clone(&self) -> SlackAppManifestSettingsEventSubscriptions
fn clone(&self) -> SlackAppManifestSettingsEventSubscriptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'de> Deserialize<'de> for SlackAppManifestSettingsEventSubscriptions
impl<'de> Deserialize<'de> for SlackAppManifestSettingsEventSubscriptions
sourcefn 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
sourceimpl From<SlackAppManifestSettingsEventSubscriptionsInit> for SlackAppManifestSettingsEventSubscriptions
impl From<SlackAppManifestSettingsEventSubscriptionsInit> for SlackAppManifestSettingsEventSubscriptions
sourcefn from(value: SlackAppManifestSettingsEventSubscriptionsInit) -> Self
fn from(value: SlackAppManifestSettingsEventSubscriptionsInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackAppManifestSettingsEventSubscriptions> for SlackAppManifestSettingsEventSubscriptions
impl PartialEq<SlackAppManifestSettingsEventSubscriptions> for SlackAppManifestSettingsEventSubscriptions
sourcefn eq(&self, other: &SlackAppManifestSettingsEventSubscriptions) -> bool
fn eq(&self, other: &SlackAppManifestSettingsEventSubscriptions) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more