Struct disint_model::interaction::embed::Embed[][src]

pub struct Embed {
    pub title: Option<String>,
    pub description: Option<String>,
    pub url: Option<String>,
    pub timestamp: Option<DateTime<Utc>>,
    pub footer: Option<Footer>,
    pub thumbnail: Option<Media>,
    pub image: Option<Media>,
    pub video: Option<Media>,
    pub provider: Option<Provider>,
    pub author: Option<Author>,
    pub fields: Option<Vec<Field>>,
}

Fields

title: Option<String>description: Option<String>url: Option<String>timestamp: Option<DateTime<Utc>>footer: Option<Footer>thumbnail: Option<Media>image: Option<Media>video: Option<Media>provider: Option<Provider>author: Option<Author>fields: Option<Vec<Field>>

Trait Implementations

impl Clone for Embed[src]

impl Debug for Embed[src]

impl Default for Embed[src]

impl Serialize for Embed[src]

Auto Trait Implementations

impl RefUnwindSafe for Embed

impl Send for Embed

impl Sync for Embed

impl Unpin for Embed

impl UnwindSafe for Embed

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

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.