Struct slack_chat_api::BotCommand [−][src]
pub struct BotCommand {
pub user_name: String,
pub command: String,
pub text: String,
pub api_app_id: String,
pub response_url: String,
pub trigger_id: String,
pub channel_name: String,
pub team_domain: String,
pub team_id: String,
pub token: String,
pub channel_id: String,
pub user_id: String,
}A bot command to be run and sent back to Slack.
Docs: https://api.slack.com/interactivity/slash-commands#app_command_handling
Fields
user_name: Stringcommand: Stringtext: Stringapi_app_id: Stringresponse_url: Stringtrigger_id: Stringchannel_name: Stringteam_domain: Stringteam_id: Stringtoken: Stringchannel_id: Stringuser_id: StringTrait Implementations
impl Debug for BotCommand[src]
impl Debug for BotCommand[src]impl Default for BotCommand[src]
impl Default for BotCommand[src]fn default() -> BotCommand[src]
fn default() -> BotCommand[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for BotCommand[src]
impl<'de> Deserialize<'de> for BotCommand[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for BotCommand[src]
impl Serialize for BotCommand[src]Auto Trait Implementations
impl RefUnwindSafe for BotCommand
impl Send for BotCommand
impl Sync for BotCommand
impl Unpin for BotCommand
impl UnwindSafe for BotCommand
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,