Struct noob::builder::EmbedFooter[][src]

pub struct EmbedFooter<'a> { /* fields omitted */ }

Representation of an embed footer

Implementations

impl<'a> EmbedFooter<'a>[src]

pub fn new(text: &'a str) -> Self[src]

Create a text-only footer

pub fn new_with_icon(text: &'a str, icon_url: &'a str) -> Self[src]

Create a footer with an icon

Trait Implementations

impl<'a> Debug for EmbedFooter<'a>[src]

impl<'a> Serialize for EmbedFooter<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for EmbedFooter<'a>

impl<'a> Send for EmbedFooter<'a>

impl<'a> Sync for EmbedFooter<'a>

impl<'a> Unpin for EmbedFooter<'a>

impl<'a> UnwindSafe for EmbedFooter<'a>

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> Same<T> for T

type Output = T

Should always be Self

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>,