Struct slack_morphism_hyper::listener::SlackInteractionShortcutEvent [−][src]
pub struct SlackInteractionShortcutEvent { pub team: SlackBasicTeamInfo, pub user: SlackBasicUserInfo, pub callback_id: SlackCallbackId, pub trigger_id: SlackTriggerId, pub actions: Option<Vec<SlackInteractionActionInfo, Global>>, }
Fields
team: SlackBasicTeamInfo
user: SlackBasicUserInfo
callback_id: SlackCallbackId
trigger_id: SlackTriggerId
actions: Option<Vec<SlackInteractionActionInfo, Global>>
Implementations
pub fn new(
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
callback_id: SlackCallbackId,
trigger_id: SlackTriggerId
) -> SlackInteractionShortcutEvent
[src]pub fn actions(
&mut self,
value: Vec<SlackInteractionActionInfo, Global>
) -> &mut SlackInteractionShortcutEvent
[src]pub fn mopt_actions(
&mut self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> &mut SlackInteractionShortcutEvent
[src]pub fn with_actions(
self,
value: Vec<SlackInteractionActionInfo, Global>
) -> SlackInteractionShortcutEvent
[src]pub fn opt_actions(
self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> SlackInteractionShortcutEvent
[src]Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionShortcutEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionShortcutEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl Send for SlackInteractionShortcutEvent
impl Sync for SlackInteractionShortcutEvent
impl Unpin for SlackInteractionShortcutEvent
impl UnwindSafe for SlackInteractionShortcutEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more