[−][src]Struct slack_morphism::listener::SlackCommandEvent
Fields
team_id: SlackTeamId
channel_id: SlackChannelId
user_id: SlackUserId
command: SlackCommandId
text: Option<String>
response_url: String
trigger_id: SlackTriggerId
Implementations
impl SlackCommandEvent
[src]
pub fn new(
team_id: SlackTeamId,
channel_id: SlackChannelId,
user_id: SlackUserId,
command: SlackCommandId,
response_url: String,
trigger_id: SlackTriggerId
) -> SlackCommandEvent
[src]
team_id: SlackTeamId,
channel_id: SlackChannelId,
user_id: SlackUserId,
command: SlackCommandId,
response_url: String,
trigger_id: SlackTriggerId
) -> SlackCommandEvent
pub fn team_id(&mut self, value: SlackTeamId) -> &mut SlackCommandEvent
[src]
pub fn with_team_id(self, value: SlackTeamId) -> SlackCommandEvent
[src]
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut SlackCommandEvent
[src]
pub fn with_channel_id(self, value: SlackChannelId) -> SlackCommandEvent
[src]
pub fn user_id(&mut self, value: SlackUserId) -> &mut SlackCommandEvent
[src]
pub fn with_user_id(self, value: SlackUserId) -> SlackCommandEvent
[src]
pub fn command(&mut self, value: SlackCommandId) -> &mut SlackCommandEvent
[src]
pub fn with_command(self, value: SlackCommandId) -> SlackCommandEvent
[src]
pub fn text(&mut self, value: String) -> &mut SlackCommandEvent
[src]
pub fn reset_text(&mut self) -> &mut SlackCommandEvent
[src]
pub fn mopt_text(&mut self, value: Option<String>) -> &mut SlackCommandEvent
[src]
pub fn with_text(self, value: String) -> SlackCommandEvent
[src]
pub fn without_text(self) -> SlackCommandEvent
[src]
pub fn opt_text(self, value: Option<String>) -> SlackCommandEvent
[src]
pub fn response_url(&mut self, value: String) -> &mut SlackCommandEvent
[src]
pub fn with_response_url(self, value: String) -> SlackCommandEvent
[src]
pub fn trigger_id(&mut self, value: SlackTriggerId) -> &mut SlackCommandEvent
[src]
pub fn with_trigger_id(self, value: SlackTriggerId) -> SlackCommandEvent
[src]
Trait Implementations
impl Clone for SlackCommandEvent
[src]
fn clone(&self) -> SlackCommandEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackCommandEvent
[src]
impl<'de> Deserialize<'de> for SlackCommandEvent
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackCommandEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SlackCommandEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<SlackCommandEventInit> for SlackCommandEvent
[src]
fn from(value: SlackCommandEventInit) -> SlackCommandEvent
[src]
impl PartialEq<SlackCommandEvent> for SlackCommandEvent
[src]
fn eq(&self, other: &SlackCommandEvent) -> bool
[src]
fn ne(&self, other: &SlackCommandEvent) -> bool
[src]
impl Serialize for SlackCommandEvent
[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 SlackCommandEvent
impl Send for SlackCommandEvent
impl Sync for SlackCommandEvent
impl Unpin for SlackCommandEvent
impl UnwindSafe for SlackCommandEvent
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>,