Struct serenity::builder::CreateEmbedFooter
[−]
[src]
pub struct CreateEmbedFooter(pub Map<String, 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]
fn icon_url(self, icon_url: &str) -> Self[src]
Set the icon URL's value. This only supports HTTP(S).
fn text<D: Display>(self, text: D) -> Self[src]
Set the footer's text.
Trait Implementations
impl Clone for CreateEmbedFooter[src]
fn clone(&self) -> CreateEmbedFooter[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for CreateEmbedFooter[src]
impl Default for CreateEmbedFooter[src]
fn default() -> CreateEmbedFooter[src]
Returns the "default value" for a type. Read more