Struct slack_chat_api::FormattedMessage [−][src]
pub struct FormattedMessage { pub channel: String, pub blocks: Vec<MessageBlock>, pub attachments: Vec<MessageAttachment>, }
A formatted message to send to Slack.
Docs: https://api.slack.com/messaging/composing/layouts
Fields
channel: String
blocks: Vec<MessageBlock>
attachments: Vec<MessageAttachment>
Trait Implementations
impl Debug for FormattedMessage
[src]
impl Debug for FormattedMessage
[src]impl<'de> Deserialize<'de> for FormattedMessage
[src]
impl<'de> Deserialize<'de> for FormattedMessage
[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 FormattedMessage
[src]
impl Serialize for FormattedMessage
[src]Auto Trait Implementations
impl RefUnwindSafe for FormattedMessage
impl Send for FormattedMessage
impl Sync for FormattedMessage
impl Unpin for FormattedMessage
impl UnwindSafe for FormattedMessage
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,