[][src]Struct slack_morphism_models::events::SlackInteractionDialogueSubmissionEvent

pub struct SlackInteractionDialogueSubmissionEvent {
    pub team: SlackBasicTeamInfo,
    pub user: SlackBasicUserInfo,
    pub channel: Option<SlackBasicChannelInfo>,
    pub callback_id: Option<SlackCallbackId>,
    // some fields omitted
}

Fields

team: SlackBasicTeamInfouser: SlackBasicUserInfochannel: Option<SlackBasicChannelInfo>callback_id: Option<SlackCallbackId>

Implementations

impl SlackInteractionDialogueSubmissionEvent[src]

pub fn new(
    team: SlackBasicTeamInfo,
    user: SlackBasicUserInfo,
    submission: HashMap<String, String>
) -> Self
[src]

pub fn team(&mut self, value: SlackBasicTeamInfo) -> &mut Self[src]

pub fn with_team(self, value: SlackBasicTeamInfo) -> Self[src]

pub fn user(&mut self, value: SlackBasicUserInfo) -> &mut Self[src]

pub fn with_user(self, value: SlackBasicUserInfo) -> Self[src]

pub fn channel(&mut self, value: SlackBasicChannelInfo) -> &mut Self[src]

pub fn reset_channel(&mut self) -> &mut Self[src]

pub fn mopt_channel(
    &mut self,
    value: Option<SlackBasicChannelInfo>
) -> &mut Self
[src]

pub fn with_channel(self, value: SlackBasicChannelInfo) -> Self[src]

pub fn without_channel(self) -> Self[src]

pub fn opt_channel(self, value: Option<SlackBasicChannelInfo>) -> Self[src]

pub fn callback_id(&mut self, value: SlackCallbackId) -> &mut Self[src]

pub fn reset_callback_id(&mut self) -> &mut Self[src]

pub fn mopt_callback_id(&mut self, value: Option<SlackCallbackId>) -> &mut Self[src]

pub fn with_callback_id(self, value: SlackCallbackId) -> Self[src]

pub fn without_callback_id(self) -> Self[src]

pub fn opt_callback_id(self, value: Option<SlackCallbackId>) -> Self[src]

Trait Implementations

impl Clone for SlackInteractionDialogueSubmissionEvent[src]

impl Debug for SlackInteractionDialogueSubmissionEvent[src]

impl<'de> Deserialize<'de> for SlackInteractionDialogueSubmissionEvent[src]

impl From<SlackInteractionDialogueSubmissionEventInit> for SlackInteractionDialogueSubmissionEvent[src]

impl PartialEq<SlackInteractionDialogueSubmissionEvent> for SlackInteractionDialogueSubmissionEvent[src]

impl Serialize for SlackInteractionDialogueSubmissionEvent[src]

impl StructuralPartialEq for SlackInteractionDialogueSubmissionEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.