[][src]Struct serenity::builder::CreateEmbedFooter

pub struct CreateEmbedFooter(pub HashMap<&'static str, Value>);

A builder to create a fake Embed object's footer, for use with the CreateEmbed::footer method.

This does not require any field be set.

Methods

impl CreateEmbedFooter[src]

pub fn icon_url<S: ToString>(&mut self, icon_url: S) -> &mut Self[src]

Set the icon URL's value. This only supports HTTP(S).

pub fn text<S: ToString>(&mut self, text: S) -> &mut Self[src]

Set the footer's text.

Trait Implementations

impl Clone for CreateEmbedFooter[src]

impl Debug for CreateEmbedFooter[src]

impl Default for CreateEmbedFooter[src]

Auto Trait Implementations

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> CloneAny for T where
    T: Clone + Any
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> From<T> 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> 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<T> UnsafeAny for T where
    T: Any

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