Struct slack_morphism_models::events::SlackInteractionMessageActionEvent [−][src]
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: String,
pub actions: Option<Vec<SlackInteractionActionInfo>>,
}Fields
team: SlackBasicTeamInfouser: SlackBasicUserInfochannel: Option<SlackBasicChannelInfo>message: Option<SlackHistoryMessage>callback_id: SlackCallbackIdtrigger_id: SlackTriggerIdresponse_url: Stringactions: Option<Vec<SlackInteractionActionInfo>>Implementations
pub fn new(
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
callback_id: SlackCallbackId,
trigger_id: SlackTriggerId,
response_url: String
) -> Self[src]Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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 !=.
Auto Trait Implementations
impl Send for SlackInteractionMessageActionEventimpl Sync for SlackInteractionMessageActionEventimpl Unpin for SlackInteractionMessageActionEventBlanket Implementations
Mutably borrows from an owned value. Read more