pub struct MessageBotMessageAttachment {Show 15 fields
pub author_icon: Option<String>,
pub author_link: Option<String>,
pub author_name: Option<String>,
pub color: Option<String>,
pub fallback: Option<String>,
pub fields: Option<Vec<MessageBotMessageAttachmentField>>,
pub footer: Option<String>,
pub footer_icon: Option<String>,
pub image_url: Option<String>,
pub pretext: Option<String>,
pub text: Option<String>,
pub thumb_url: Option<String>,
pub title: Option<String>,
pub title_link: Option<String>,
pub ts: Option<Timestamp>,
}Fields§
§color: Option<String>§fallback: Option<String>§fields: Option<Vec<MessageBotMessageAttachmentField>>§image_url: Option<String>§pretext: Option<String>§text: Option<String>§thumb_url: Option<String>§title: Option<String>§title_link: Option<String>§ts: Option<Timestamp>Trait Implementations§
Source§impl Clone for MessageBotMessageAttachment
impl Clone for MessageBotMessageAttachment
Source§fn clone(&self) -> MessageBotMessageAttachment
fn clone(&self) -> MessageBotMessageAttachment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageBotMessageAttachment
impl Debug for MessageBotMessageAttachment
Source§impl<'de> Deserialize<'de> for MessageBotMessageAttachment
impl<'de> Deserialize<'de> for MessageBotMessageAttachment
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MessageBotMessageAttachment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MessageBotMessageAttachment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MessageBotMessageAttachment
impl RefUnwindSafe for MessageBotMessageAttachment
impl Send for MessageBotMessageAttachment
impl Sync for MessageBotMessageAttachment
impl Unpin for MessageBotMessageAttachment
impl UnsafeUnpin for MessageBotMessageAttachment
impl UnwindSafe for MessageBotMessageAttachment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more