Struct slack_morphism::prelude::SlackInteractionDialogueSubmissionEvent [−][src]
pub struct SlackInteractionDialogueSubmissionEvent { pub team: SlackBasicTeamInfo, pub user: SlackBasicUserInfo, pub channel: Option<SlackBasicChannelInfo>, pub callback_id: Option<SlackCallbackId>, // some fields omitted }
Fields
team: SlackBasicTeamInfo
user: SlackBasicUserInfo
channel: Option<SlackBasicChannelInfo>
callback_id: Option<SlackCallbackId>
Implementations
pub fn new(
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
submission: HashMap<String, String, RandomState>
) -> SlackInteractionDialogueSubmissionEvent
[src]pub fn team(
&mut self,
value: SlackBasicTeamInfo
) -> &mut SlackInteractionDialogueSubmissionEvent
[src]pub fn user(
&mut self,
value: SlackBasicUserInfo
) -> &mut SlackInteractionDialogueSubmissionEvent
[src]pub fn channel(
&mut self,
value: SlackBasicChannelInfo
) -> &mut SlackInteractionDialogueSubmissionEvent
[src]pub fn mopt_channel(
&mut self,
value: Option<SlackBasicChannelInfo>
) -> &mut SlackInteractionDialogueSubmissionEvent
[src]pub fn with_channel(
self,
value: SlackBasicChannelInfo
) -> SlackInteractionDialogueSubmissionEvent
[src]pub fn opt_channel(
self,
value: Option<SlackBasicChannelInfo>
) -> SlackInteractionDialogueSubmissionEvent
[src]pub fn callback_id(
&mut self,
value: SlackCallbackId
) -> &mut SlackInteractionDialogueSubmissionEvent
[src]pub fn mopt_callback_id(
&mut self,
value: Option<SlackCallbackId>
) -> &mut SlackInteractionDialogueSubmissionEvent
[src]pub fn with_callback_id(
self,
value: SlackCallbackId
) -> SlackInteractionDialogueSubmissionEvent
[src]pub fn opt_callback_id(
self,
value: Option<SlackCallbackId>
) -> SlackInteractionDialogueSubmissionEvent
[src]Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionDialogueSubmissionEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionDialogueSubmissionEvent, <__D as Deserializer<'de>>::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 !=
.
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
Blanket Implementations
Mutably borrows from an owned value. Read more