pub struct SlackAppManifestSettingsEventSubscriptions {
pub request_url: Option<Url>,
pub bot_events: Option<Vec<SlackEventType, Global>>,
pub user_events: Option<Vec<SlackEventType, Global>>,
}Fields
request_url: Option<Url>bot_events: Option<Vec<SlackEventType, Global>>user_events: Option<Vec<SlackEventType, Global>>Implementations
sourceimpl SlackAppManifestSettingsEventSubscriptions
impl SlackAppManifestSettingsEventSubscriptions
pub fn new() -> SlackAppManifestSettingsEventSubscriptions
pub fn request_url(
&mut self,
value: Url
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn reset_request_url(
&mut self
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn mopt_request_url(
&mut self,
value: Option<Url>
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn with_request_url(
self,
value: Url
) -> SlackAppManifestSettingsEventSubscriptions
pub fn without_request_url(self) -> SlackAppManifestSettingsEventSubscriptions
pub fn opt_request_url(
self,
value: Option<Url>
) -> SlackAppManifestSettingsEventSubscriptions
pub fn bot_events(
&mut self,
value: Vec<SlackEventType, Global>
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn reset_bot_events(
&mut self
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn mopt_bot_events(
&mut self,
value: Option<Vec<SlackEventType, Global>>
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn with_bot_events(
self,
value: Vec<SlackEventType, Global>
) -> SlackAppManifestSettingsEventSubscriptions
pub fn without_bot_events(self) -> SlackAppManifestSettingsEventSubscriptions
pub fn opt_bot_events(
self,
value: Option<Vec<SlackEventType, Global>>
) -> SlackAppManifestSettingsEventSubscriptions
pub fn user_events(
&mut self,
value: Vec<SlackEventType, Global>
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn reset_user_events(
&mut self
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn mopt_user_events(
&mut self,
value: Option<Vec<SlackEventType, Global>>
) -> &mut SlackAppManifestSettingsEventSubscriptions
pub fn with_user_events(
self,
value: Vec<SlackEventType, Global>
) -> SlackAppManifestSettingsEventSubscriptions
pub fn without_user_events(self) -> SlackAppManifestSettingsEventSubscriptions
pub fn opt_user_events(
self,
value: Option<Vec<SlackEventType, Global>>
) -> SlackAppManifestSettingsEventSubscriptions
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<SlackAppManifestSettingsEventSubscriptions, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackAppManifestSettingsEventSubscriptions, <__D as Deserializer<'de>>::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
) -> SlackAppManifestSettingsEventSubscriptions
fn from(
value: SlackAppManifestSettingsEventSubscriptionsInit
) -> SlackAppManifestSettingsEventSubscriptions
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 !=.
sourceimpl Serialize for SlackAppManifestSettingsEventSubscriptions
impl Serialize for SlackAppManifestSettingsEventSubscriptions
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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