[][src]Struct slack_morphism_models::events::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
) -> 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 reset_user(&mut self) -> &mut Self[src]

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

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

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

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

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

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

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

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

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

pub fn with_trigger_id(self, value: SlackTriggerId) -> 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 message(&mut self, value: SlackHistoryMessage) -> &mut Self[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn opt_actions(self, value: Option<Vec<SlackInteractionActionInfo>>) -> Self[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, 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.