Struct slack_morphism::prelude::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: SlackBasicTeamInfouser: SlackBasicUserInfocallback_id: SlackCallbackIdtrigger_id: SlackTriggerIdactions: Option<Vec<SlackInteractionActionInfo, Global>>Implementations
pub fn new(
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
callback_id: SlackCallbackId,
trigger_id: SlackTriggerId
) -> SlackInteractionShortcutEvent
pub fn actions(
&mut self,
value: Vec<SlackInteractionActionInfo, Global>
) -> &mut SlackInteractionShortcutEvent
pub fn mopt_actions(
&mut self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> &mut SlackInteractionShortcutEvent
pub fn with_actions(
self,
value: Vec<SlackInteractionActionInfo, Global>
) -> SlackInteractionShortcutEvent
pub fn opt_actions(
self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> SlackInteractionShortcutEvent
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionShortcutEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionShortcutEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
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,
pub 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
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
