[][src]Struct twilight_builders::embed::FooterBuilder

#[must_use = "If commit is not run the footer will not be added."]pub struct FooterBuilder(_, _);

Implementations

impl FooterBuilder[src]

pub fn icon_url(self, url: impl Into<String>) -> Self[src]

Add a footer icon.

Either the URL to an image or an attachment:// path.

pub fn commit(self) -> EmbedBuilder[src]

Build the footer, and return the embed builder.

Auto Trait Implementations

impl RefUnwindSafe for FooterBuilder

impl Send for FooterBuilder

impl Sync for FooterBuilder

impl Unpin for FooterBuilder

impl UnwindSafe for FooterBuilder

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