Enum slack_chat_api::MessageResponseType [−][src]
pub enum MessageResponseType {
Ephemeral,
InChannel,
}A message response type in Slack.
The response_type parameter in the JSON payload controls this visibility,
by default it is set to ephemeral, but you can specify a value of
in_channel to post the response into the channel
Variants
Trait Implementations
impl Debug for MessageResponseType[src]
impl Debug for MessageResponseType[src]impl Default for MessageResponseType[src]
impl Default for MessageResponseType[src]impl<'de> Deserialize<'de> for MessageResponseType[src]
impl<'de> Deserialize<'de> for MessageResponseType[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 MessageResponseType[src]
impl Serialize for MessageResponseType[src]Auto Trait Implementations
impl RefUnwindSafe for MessageResponseType
impl Send for MessageResponseType
impl Sync for MessageResponseType
impl Unpin for MessageResponseType
impl UnwindSafe for MessageResponseType
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>,