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