Struct harmony_rust_sdk::client::api::harmonytypes::v1::Embed[][src]

pub struct Embed {
    pub title: String,
    pub body: String,
    pub color: i64,
    pub header: Option<EmbedHeading>,
    pub footer: Option<EmbedHeading>,
    pub fields: Vec<EmbedField>,
    pub actions: Vec<Action>,
}

Fields

title: Stringbody: Stringcolor: i64header: Option<EmbedHeading>footer: Option<EmbedHeading>fields: Vec<EmbedField>actions: Vec<Action>

Trait Implementations

impl Clone for Embed[src]

impl Debug for Embed[src]

impl Default for Embed[src]

impl Message for Embed[src]

impl PartialEq<Embed> for Embed[src]

impl StructuralPartialEq 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> Instrument for T[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

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