Struct slack_chat_api::MessageAttachment [−][src]
pub struct MessageAttachment {}Show fields
pub blocks: Vec<MessageBlock>, pub author_icon: String, pub author_link: String, pub author_name: String, pub color: String, pub fallback: String, pub fields: Vec<MessageAttachmentField>, pub footer: String, pub footer_icon: String, pub image_url: String, pub pretext: String, pub text: String, pub thumb_url: String, pub title: String, pub title_link: String, pub ts: DateTime<Utc>,
A message attachment in Slack.
Docs: https://api.slack.com/messaging/composing/layouts#building-attachments
Fields
blocks: Vec<MessageBlock>
color: String
fallback: String
fields: Vec<MessageAttachmentField>
image_url: String
pretext: String
text: String
thumb_url: String
title: String
title_link: String
ts: DateTime<Utc>
Trait Implementations
impl Debug for MessageAttachment
[src]
impl Debug for MessageAttachment
[src]impl<'de> Deserialize<'de> for MessageAttachment
[src]
impl<'de> Deserialize<'de> for MessageAttachment
[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 MessageAttachment
[src]
impl Serialize for MessageAttachment
[src]Auto Trait Implementations
impl RefUnwindSafe for MessageAttachment
impl Send for MessageAttachment
impl Sync for MessageAttachment
impl Unpin for MessageAttachment
impl UnwindSafe for MessageAttachment
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>,