[][src]Struct automate::gateway::Embed

pub struct Embed {
    pub title: Option<String>,
    pub _type: Option<String>,
    pub description: Option<String>,
    pub url: Option<String>,
    pub timestamp: Option<String>,
    pub color: Option<i32>,
    pub footer: Option<EmbedFooter>,
    pub image: Option<EmbedImage>,
    pub thumbnail: Option<EmbedThumbnail>,
    pub video: Option<EmbedVideo>,
    pub provider: Option<EmbedProvider>,
    pub author: Option<EmbedAuthor>,
    pub fields: Option<Vec<EmbedField>>,
}

Fields

title: Option<String>_type: Option<String>description: Option<String>url: Option<String>timestamp: Option<String>color: Option<i32>footer: Option<EmbedFooter>image: Option<EmbedImage>thumbnail: Option<EmbedThumbnail>video: Option<EmbedVideo>provider: Option<EmbedProvider>author: Option<EmbedAuthor>fields: Option<Vec<EmbedField>>

Trait Implementations

impl AsJson for Embed[src]

impl FromJson for Embed[src]

impl Debug for Embed[src]

Auto Trait Implementations

impl Send for Embed

impl Sync for Embed

impl Unpin for Embed

impl UnwindSafe for Embed

impl RefUnwindSafe for Embed

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,