Struct slack_morphism_models::events::SlackInteractionBlockActionsEvent [−][src]
pub struct SlackInteractionBlockActionsEvent { pub team: SlackBasicTeamInfo, pub user: Option<SlackBasicUserInfo>, pub api_app_id: SlackAppId, pub container: SlackInteractionActionContainer, pub trigger_id: SlackTriggerId, pub channel: Option<SlackBasicChannelInfo>, pub message: Option<SlackHistoryMessage>, pub view: Option<SlackView>, pub response_url: Option<String>, pub actions: Option<Vec<SlackInteractionActionInfo>>, }
Fields
team: SlackBasicTeamInfo
user: Option<SlackBasicUserInfo>
api_app_id: SlackAppId
container: SlackInteractionActionContainer
trigger_id: SlackTriggerId
channel: Option<SlackBasicChannelInfo>
message: Option<SlackHistoryMessage>
view: Option<SlackView>
response_url: Option<String>
actions: Option<Vec<SlackInteractionActionInfo>>
Implementations
pub fn new(
team: SlackBasicTeamInfo,
api_app_id: SlackAppId,
container: SlackInteractionActionContainer,
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 SlackInteractionBlockActionsEvent
impl Sync for SlackInteractionBlockActionsEvent
impl Unpin for SlackInteractionBlockActionsEvent
Blanket Implementations
Mutably borrows from an owned value. Read more