[−][src]Struct slack_morphism_models::events::SlackInteractionMessageActionEvent
Fields
team: SlackBasicTeamInfo
user: SlackBasicUserInfo
channel: Option<SlackBasicChannelInfo>
message: Option<SlackHistoryMessage>
callback_id: SlackCallbackId
trigger_id: SlackTriggerId
response_url: String
actions: Option<Vec<SlackInteractionActionInfo>>
Implementations
impl SlackInteractionMessageActionEvent
[src]
pub fn new(
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
callback_id: SlackCallbackId,
trigger_id: SlackTriggerId,
response_url: String
) -> Self
[src]
team: SlackBasicTeamInfo,
user: SlackBasicUserInfo,
callback_id: SlackCallbackId,
trigger_id: SlackTriggerId,
response_url: String
) -> Self
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]
&mut self,
value: Option<SlackBasicChannelInfo>
) -> &mut Self
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 callback_id(&mut self, value: SlackCallbackId) -> &mut Self
[src]
pub fn with_callback_id(self, value: SlackCallbackId) -> 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 response_url(&mut self, value: String) -> &mut Self
[src]
pub fn with_response_url(self, value: 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]
&mut self,
value: Option<Vec<SlackInteractionActionInfo>>
) -> &mut Self
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 SlackInteractionMessageActionEvent
[src]
pub fn clone(&self) -> SlackInteractionMessageActionEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackInteractionMessageActionEvent
[src]
impl<'de> Deserialize<'de> for SlackInteractionMessageActionEvent
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackInteractionMessageActionEventInit> for SlackInteractionMessageActionEvent
[src]
pub fn from(value: SlackInteractionMessageActionEventInit) -> Self
[src]
impl PartialEq<SlackInteractionMessageActionEvent> for SlackInteractionMessageActionEvent
[src]
pub fn eq(&self, other: &SlackInteractionMessageActionEvent) -> bool
[src]
pub fn ne(&self, other: &SlackInteractionMessageActionEvent) -> bool
[src]
impl Serialize for SlackInteractionMessageActionEvent
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackInteractionMessageActionEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackInteractionMessageActionEvent
[src]
impl Send for SlackInteractionMessageActionEvent
[src]
impl Sync for SlackInteractionMessageActionEvent
[src]
impl Unpin for SlackInteractionMessageActionEvent
[src]
impl UnwindSafe for SlackInteractionMessageActionEvent
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,