[][src]Struct slack_morphism::listener::SlackInteractionBlockActionsEvent

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: SlackBasicTeamInfouser: Option<SlackBasicUserInfo>api_app_id: SlackAppIdcontainer: SlackInteractionActionContainertrigger_id: SlackTriggerIdchannel: Option<SlackBasicChannelInfo>message: Option<SlackHistoryMessage>view: Option<SlackView>response_url: Option<String>actions: Option<Vec<SlackInteractionActionInfo>>

Implementations

impl SlackInteractionBlockActionsEvent[src]

pub fn new(
    team: SlackBasicTeamInfo,
    api_app_id: SlackAppId,
    container: SlackInteractionActionContainer,
    trigger_id: SlackTriggerId
) -> SlackInteractionBlockActionsEvent
[src]

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

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

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

pub fn reset_user(&mut self) -> &mut SlackInteractionBlockActionsEvent[src]

pub fn mopt_user(
    &mut self,
    value: Option<SlackBasicUserInfo>
) -> &mut SlackInteractionBlockActionsEvent
[src]

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

pub fn without_user(self) -> SlackInteractionBlockActionsEvent[src]

pub fn opt_user(
    self,
    value: Option<SlackBasicUserInfo>
) -> SlackInteractionBlockActionsEvent
[src]

pub fn api_app_id(
    &mut self,
    value: SlackAppId
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn with_api_app_id(
    self,
    value: SlackAppId
) -> SlackInteractionBlockActionsEvent
[src]

pub fn container(
    &mut self,
    value: SlackInteractionActionContainer
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn with_container(
    self,
    value: SlackInteractionActionContainer
) -> SlackInteractionBlockActionsEvent
[src]

pub fn trigger_id(
    &mut self,
    value: SlackTriggerId
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn with_trigger_id(
    self,
    value: SlackTriggerId
) -> SlackInteractionBlockActionsEvent
[src]

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

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

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

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

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

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

pub fn message(
    &mut self,
    value: SlackHistoryMessage
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn reset_message(&mut self) -> &mut SlackInteractionBlockActionsEvent[src]

pub fn mopt_message(
    &mut self,
    value: Option<SlackHistoryMessage>
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn with_message(
    self,
    value: SlackHistoryMessage
) -> SlackInteractionBlockActionsEvent
[src]

pub fn without_message(self) -> SlackInteractionBlockActionsEvent[src]

pub fn opt_message(
    self,
    value: Option<SlackHistoryMessage>
) -> SlackInteractionBlockActionsEvent
[src]

pub fn view(
    &mut self,
    value: SlackView
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn reset_view(&mut self) -> &mut SlackInteractionBlockActionsEvent[src]

pub fn mopt_view(
    &mut self,
    value: Option<SlackView>
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn with_view(self, value: SlackView) -> SlackInteractionBlockActionsEvent[src]

pub fn without_view(self) -> SlackInteractionBlockActionsEvent[src]

pub fn opt_view(
    self,
    value: Option<SlackView>
) -> SlackInteractionBlockActionsEvent
[src]

pub fn response_url(
    &mut self,
    value: String
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn reset_response_url(&mut self) -> &mut SlackInteractionBlockActionsEvent[src]

pub fn mopt_response_url(
    &mut self,
    value: Option<String>
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn with_response_url(
    self,
    value: String
) -> SlackInteractionBlockActionsEvent
[src]

pub fn without_response_url(self) -> SlackInteractionBlockActionsEvent[src]

pub fn opt_response_url(
    self,
    value: Option<String>
) -> SlackInteractionBlockActionsEvent
[src]

pub fn actions(
    &mut self,
    value: Vec<SlackInteractionActionInfo>
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn reset_actions(&mut self) -> &mut SlackInteractionBlockActionsEvent[src]

pub fn mopt_actions(
    &mut self,
    value: Option<Vec<SlackInteractionActionInfo>>
) -> &mut SlackInteractionBlockActionsEvent
[src]

pub fn with_actions(
    self,
    value: Vec<SlackInteractionActionInfo>
) -> SlackInteractionBlockActionsEvent
[src]

pub fn without_actions(self) -> SlackInteractionBlockActionsEvent[src]

pub fn opt_actions(
    self,
    value: Option<Vec<SlackInteractionActionInfo>>
) -> SlackInteractionBlockActionsEvent
[src]

Trait Implementations

impl Clone for SlackInteractionBlockActionsEvent[src]

impl Debug for SlackInteractionBlockActionsEvent[src]

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

impl From<SlackInteractionBlockActionsEventInit> for SlackInteractionBlockActionsEvent[src]

impl PartialEq<SlackInteractionBlockActionsEvent> for SlackInteractionBlockActionsEvent[src]

impl Serialize for SlackInteractionBlockActionsEvent[src]

impl StructuralPartialEq for SlackInteractionBlockActionsEvent[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> Instrument 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.