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