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 more
sourceimpl<'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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SlackAppManifestSettingsEventSubscriptions) -> bool
fn ne(&self, other: &SlackAppManifestSettingsEventSubscriptions) -> bool
This method tests for !=.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more