Struct slack_morphism_hyper::listener::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, Global>>, }
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, Global>>
Implementations
pub fn new(
team: SlackBasicTeamInfo,
api_app_id: SlackAppId,
container: SlackInteractionActionContainer,
trigger_id: SlackTriggerId
) -> SlackInteractionBlockActionsEvent
[src]pub fn mopt_user(
&mut self,
value: Option<SlackBasicUserInfo>
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn container(
&mut self,
value: SlackInteractionActionContainer
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn with_container(
self,
value: SlackInteractionActionContainer
) -> SlackInteractionBlockActionsEvent
[src]pub fn channel(
&mut self,
value: SlackBasicChannelInfo
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn mopt_channel(
&mut self,
value: Option<SlackBasicChannelInfo>
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn opt_channel(
self,
value: Option<SlackBasicChannelInfo>
) -> SlackInteractionBlockActionsEvent
[src]pub fn message(
&mut self,
value: SlackHistoryMessage
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn mopt_message(
&mut self,
value: Option<SlackHistoryMessage>
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn opt_message(
self,
value: Option<SlackHistoryMessage>
) -> SlackInteractionBlockActionsEvent
[src]pub fn mopt_view(
&mut self,
value: Option<SlackView>
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn mopt_response_url(
&mut self,
value: Option<String>
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn actions(
&mut self,
value: Vec<SlackInteractionActionInfo, Global>
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn mopt_actions(
&mut self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> &mut SlackInteractionBlockActionsEvent
[src]pub fn with_actions(
self,
value: Vec<SlackInteractionActionInfo, Global>
) -> SlackInteractionBlockActionsEvent
[src]pub fn opt_actions(
self,
value: Option<Vec<SlackInteractionActionInfo, Global>>
) -> SlackInteractionBlockActionsEvent
[src]Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionBlockActionsEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionBlockActionsEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
pub fn from(
value: SlackInteractionBlockActionsEventInit
) -> SlackInteractionBlockActionsEvent
[src]
pub fn from(
value: SlackInteractionBlockActionsEventInit
) -> SlackInteractionBlockActionsEvent
[src]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 SlackInteractionBlockActionsEvent
impl Sync for SlackInteractionBlockActionsEvent
impl Unpin for SlackInteractionBlockActionsEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more