pub struct SlackInteractionMessageActionEvent {
pub team: SlackBasicTeamInfo,
pub user: SlackBasicUserInfo,
pub channel: Option<SlackBasicChannelInfo>,
pub message: Option<SlackHistoryMessage>,
pub callback_id: SlackCallbackId,
pub trigger_id: SlackTriggerId,
pub response_url: SlackResponseUrl,
pub actions: Option<Vec<SlackInteractionActionInfo, Global>>,
}Fields
team: SlackBasicTeamInfouser: SlackBasicUserInfochannel: Option<SlackBasicChannelInfo>message: Option<SlackHistoryMessage>callback_id: SlackCallbackIdtrigger_id: SlackTriggerIdresponse_url: SlackResponseUrlactions: Option<Vec<SlackInteractionActionInfo, Global>>Implementations
sourceimpl SlackInteractionMessageActionEvent
impl SlackInteractionMessageActionEvent
pub fn new(
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
callback_id: SlackCallbackId,
trigger_id: SlackTriggerId,
response_url: SlackResponseUrl
) -> SlackInteractionMessageActionEvent
pub fn team(
&mut self,
value: SlackBasicTeamInfo
) -> &mut SlackInteractionMessageActionEvent
pub fn with_team(
self,
value: SlackBasicTeamInfo
) -> SlackInteractionMessageActionEvent
pub fn user(
&mut self,
value: SlackBasicUserInfo
) -> &mut SlackInteractionMessageActionEvent
pub fn with_user(
self,
value: SlackBasicUserInfo
) -> SlackInteractionMessageActionEvent
pub fn channel(
&mut self,
value: SlackBasicChannelInfo
) -> &mut SlackInteractionMessageActionEvent
pub fn reset_channel(&mut self) -> &mut SlackInteractionMessageActionEvent
pub fn mopt_channel(
&mut self,
value: Option<SlackBasicChannelInfo>
) -> &mut SlackInteractionMessageActionEvent
pub fn with_channel(
self,
value: SlackBasicChannelInfo
) -> SlackInteractionMessageActionEvent
pub fn without_channel(self) -> SlackInteractionMessageActionEvent
pub fn opt_channel(
self,
value: Option<SlackBasicChannelInfo>
) -> SlackInteractionMessageActionEvent
pub fn message(
&mut self,
value: SlackHistoryMessage
) -> &mut SlackInteractionMessageActionEvent
pub fn reset_message(&mut self) -> &mut SlackInteractionMessageActionEvent
pub fn mopt_message(
&mut self,
value: Option<SlackHistoryMessage>
) -> &mut SlackInteractionMessageActionEvent
pub fn with_message(
self,
value: SlackHistoryMessage
) -> SlackInteractionMessageActionEvent
pub fn without_message(self) -> SlackInteractionMessageActionEvent
pub fn opt_message(
self,
value: Option<SlackHistoryMessage>
) -> SlackInteractionMessageActionEvent
pub fn callback_id(
&mut self,
value: SlackCallbackId
) -> &mut SlackInteractionMessageActionEvent
pub fn with_callback_id(
self,
value: SlackCallbackId
) -> SlackInteractionMessageActionEvent
pub fn trigger_id(
&mut self,
value: SlackTriggerId
) -> &mut SlackInteractionMessageActionEvent
pub fn with_trigger_id(
self,
value: SlackTriggerId
) -> SlackInteractionMessageActionEvent
pub fn response_url(
&mut self,
value: SlackResponseUrl
) -> &mut SlackInteractionMessageActionEvent
pub fn with_response_url(
self,
value: SlackResponseUrl
) -> SlackInteractionMessageActionEvent
pub fn actions(
&mut self,
value: Vec<SlackInteractionActionInfo, Global>
) -> &mut SlackInteractionMessageActionEvent
pub fn reset_actions(&mut self) -> &mut SlackInteractionMessageActionEvent
pub fn mopt_actions(
&mut self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> &mut SlackInteractionMessageActionEvent
pub fn with_actions(
self,
value: Vec<SlackInteractionActionInfo, Global>
) -> SlackInteractionMessageActionEvent
pub fn without_actions(self) -> SlackInteractionMessageActionEvent
pub fn opt_actions(
self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> SlackInteractionMessageActionEvent
Trait Implementations
sourceimpl Clone for SlackInteractionMessageActionEvent
impl Clone for SlackInteractionMessageActionEvent
sourcefn clone(&self) -> SlackInteractionMessageActionEvent
fn clone(&self) -> SlackInteractionMessageActionEvent
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 SlackInteractionMessageActionEvent
impl<'de> Deserialize<'de> for SlackInteractionMessageActionEvent
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionMessageActionEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionMessageActionEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<SlackInteractionMessageActionEventInit> for SlackInteractionMessageActionEvent
impl From<SlackInteractionMessageActionEventInit> for SlackInteractionMessageActionEvent
sourcefn from(
value: SlackInteractionMessageActionEventInit
) -> SlackInteractionMessageActionEvent
fn from(
value: SlackInteractionMessageActionEventInit
) -> SlackInteractionMessageActionEvent
Performs the conversion.
sourceimpl PartialEq<SlackInteractionMessageActionEvent> for SlackInteractionMessageActionEvent
impl PartialEq<SlackInteractionMessageActionEvent> for SlackInteractionMessageActionEvent
sourcefn eq(&self, other: &SlackInteractionMessageActionEvent) -> bool
fn eq(&self, other: &SlackInteractionMessageActionEvent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SlackInteractionMessageActionEvent) -> bool
fn ne(&self, other: &SlackInteractionMessageActionEvent) -> bool
This method tests for !=.
sourceimpl Serialize for SlackInteractionMessageActionEvent
impl Serialize for SlackInteractionMessageActionEvent
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 SlackInteractionMessageActionEvent
Auto Trait Implementations
impl RefUnwindSafe for SlackInteractionMessageActionEvent
impl Send for SlackInteractionMessageActionEvent
impl Sync for SlackInteractionMessageActionEvent
impl Unpin for SlackInteractionMessageActionEvent
impl UnwindSafe for SlackInteractionMessageActionEvent
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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