[−][src]Struct slack_morphism::prelude::SlackInteractionBlockActionsEvent
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>>
Implementations
impl SlackInteractionBlockActionsEvent
[src]
pub fn new(
team: SlackBasicTeamInfo,
api_app_id: SlackAppId,
container: SlackInteractionActionContainer,
trigger_id: SlackTriggerId
) -> SlackInteractionBlockActionsEvent
[src]
team: SlackBasicTeamInfo,
api_app_id: SlackAppId,
container: SlackInteractionActionContainer,
trigger_id: SlackTriggerId
) -> SlackInteractionBlockActionsEvent
pub fn team(
&mut self,
value: SlackBasicTeamInfo
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackBasicTeamInfo
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_team(
self,
value: SlackBasicTeamInfo
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: SlackBasicTeamInfo
) -> SlackInteractionBlockActionsEvent
pub fn user(
&mut self,
value: SlackBasicUserInfo
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackBasicUserInfo
) -> &mut SlackInteractionBlockActionsEvent
pub fn reset_user(&mut self) -> &mut SlackInteractionBlockActionsEvent
[src]
pub fn mopt_user(
&mut self,
value: Option<SlackBasicUserInfo>
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: Option<SlackBasicUserInfo>
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_user(
self,
value: SlackBasicUserInfo
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: SlackBasicUserInfo
) -> SlackInteractionBlockActionsEvent
pub fn without_user(self) -> SlackInteractionBlockActionsEvent
[src]
pub fn opt_user(
self,
value: Option<SlackBasicUserInfo>
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: Option<SlackBasicUserInfo>
) -> SlackInteractionBlockActionsEvent
pub fn api_app_id(
&mut self,
value: SlackAppId
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackAppId
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_api_app_id(
self,
value: SlackAppId
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: SlackAppId
) -> SlackInteractionBlockActionsEvent
pub fn container(
&mut self,
value: SlackInteractionActionContainer
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackInteractionActionContainer
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_container(
self,
value: SlackInteractionActionContainer
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: SlackInteractionActionContainer
) -> SlackInteractionBlockActionsEvent
pub fn trigger_id(
&mut self,
value: SlackTriggerId
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackTriggerId
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_trigger_id(
self,
value: SlackTriggerId
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: SlackTriggerId
) -> SlackInteractionBlockActionsEvent
pub fn channel(
&mut self,
value: SlackBasicChannelInfo
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackBasicChannelInfo
) -> &mut SlackInteractionBlockActionsEvent
pub fn reset_channel(&mut self) -> &mut SlackInteractionBlockActionsEvent
[src]
pub fn mopt_channel(
&mut self,
value: Option<SlackBasicChannelInfo>
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: Option<SlackBasicChannelInfo>
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_channel(
self,
value: SlackBasicChannelInfo
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: SlackBasicChannelInfo
) -> SlackInteractionBlockActionsEvent
pub fn without_channel(self) -> SlackInteractionBlockActionsEvent
[src]
pub fn opt_channel(
self,
value: Option<SlackBasicChannelInfo>
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: Option<SlackBasicChannelInfo>
) -> SlackInteractionBlockActionsEvent
pub fn message(
&mut self,
value: SlackHistoryMessage
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackHistoryMessage
) -> &mut SlackInteractionBlockActionsEvent
pub fn reset_message(&mut self) -> &mut SlackInteractionBlockActionsEvent
[src]
pub fn mopt_message(
&mut self,
value: Option<SlackHistoryMessage>
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: Option<SlackHistoryMessage>
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_message(
self,
value: SlackHistoryMessage
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: SlackHistoryMessage
) -> SlackInteractionBlockActionsEvent
pub fn without_message(self) -> SlackInteractionBlockActionsEvent
[src]
pub fn opt_message(
self,
value: Option<SlackHistoryMessage>
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: Option<SlackHistoryMessage>
) -> SlackInteractionBlockActionsEvent
pub fn view(
&mut self,
value: SlackView
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: SlackView
) -> &mut SlackInteractionBlockActionsEvent
pub fn reset_view(&mut self) -> &mut SlackInteractionBlockActionsEvent
[src]
pub fn mopt_view(
&mut self,
value: Option<SlackView>
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: Option<SlackView>
) -> &mut SlackInteractionBlockActionsEvent
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]
self,
value: Option<SlackView>
) -> SlackInteractionBlockActionsEvent
pub fn response_url(
&mut self,
value: String
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: String
) -> &mut SlackInteractionBlockActionsEvent
pub fn reset_response_url(&mut self) -> &mut SlackInteractionBlockActionsEvent
[src]
pub fn mopt_response_url(
&mut self,
value: Option<String>
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: Option<String>
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_response_url(
self,
value: String
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: String
) -> SlackInteractionBlockActionsEvent
pub fn without_response_url(self) -> SlackInteractionBlockActionsEvent
[src]
pub fn opt_response_url(
self,
value: Option<String>
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: Option<String>
) -> SlackInteractionBlockActionsEvent
pub fn actions(
&mut self,
value: Vec<SlackInteractionActionInfo>
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: Vec<SlackInteractionActionInfo>
) -> &mut SlackInteractionBlockActionsEvent
pub fn reset_actions(&mut self) -> &mut SlackInteractionBlockActionsEvent
[src]
pub fn mopt_actions(
&mut self,
value: Option<Vec<SlackInteractionActionInfo>>
) -> &mut SlackInteractionBlockActionsEvent
[src]
&mut self,
value: Option<Vec<SlackInteractionActionInfo>>
) -> &mut SlackInteractionBlockActionsEvent
pub fn with_actions(
self,
value: Vec<SlackInteractionActionInfo>
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: Vec<SlackInteractionActionInfo>
) -> SlackInteractionBlockActionsEvent
pub fn without_actions(self) -> SlackInteractionBlockActionsEvent
[src]
pub fn opt_actions(
self,
value: Option<Vec<SlackInteractionActionInfo>>
) -> SlackInteractionBlockActionsEvent
[src]
self,
value: Option<Vec<SlackInteractionActionInfo>>
) -> SlackInteractionBlockActionsEvent
Trait Implementations
impl Clone for SlackInteractionBlockActionsEvent
[src]
fn clone(&self) -> SlackInteractionBlockActionsEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackInteractionBlockActionsEvent
[src]
impl<'de> Deserialize<'de> for SlackInteractionBlockActionsEvent
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionBlockActionsEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SlackInteractionBlockActionsEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<SlackInteractionBlockActionsEventInit> for SlackInteractionBlockActionsEvent
[src]
impl PartialEq<SlackInteractionBlockActionsEvent> for SlackInteractionBlockActionsEvent
[src]
fn eq(&self, other: &SlackInteractionBlockActionsEvent) -> bool
[src]
fn ne(&self, other: &SlackInteractionBlockActionsEvent) -> bool
[src]
impl Serialize for SlackInteractionBlockActionsEvent
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for SlackInteractionBlockActionsEvent
impl Send for SlackInteractionBlockActionsEvent
impl Sync for SlackInteractionBlockActionsEvent
impl Unpin for SlackInteractionBlockActionsEvent
impl UnwindSafe for SlackInteractionBlockActionsEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,