Struct commodore::Attachment [] [src]

pub struct Attachment {
    pub text: Option<String>,
    pub color: Option<String>,
    pub fallback: Option<String>,
    pub pretext: Option<String>,
    pub title: Option<String>,
    pub title_link: Option<String>,
    pub author_name: Option<String>,
    pub author_link: Option<String>,
    pub author_icon: Option<String>,
    pub image_url: Option<String>,
    pub thumb_url: Option<String>,
    pub footer: Option<String>,
    pub footer_icon: Option<String>,
    pub ts: Option<usize>,
    pub fields: Vec<Field>,
}

Fields

Methods

impl Attachment
[src]

Trait Implementations

impl Debug for Attachment
[src]

Formats the value using the given formatter.

impl Default for Attachment
[src]

Returns the "default value" for a type. Read more

impl Clone for Attachment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more