Struct slack_morphism_models::events::SlackInteractionShortcutEvent [−][src]
pub struct SlackInteractionShortcutEvent {
pub team: SlackBasicTeamInfo,
pub user: SlackBasicUserInfo,
pub callback_id: SlackCallbackId,
pub trigger_id: SlackTriggerId,
pub actions: Option<Vec<SlackInteractionActionInfo>>,
}Fields
team: SlackBasicTeamInfouser: SlackBasicUserInfocallback_id: SlackCallbackIdtrigger_id: SlackTriggerIdactions: Option<Vec<SlackInteractionActionInfo>>Implementations
pub fn new(
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
callback_id: SlackCallbackId,
trigger_id: SlackTriggerId
) -> Self
Trait Implementations
fn 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
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
