Struct serenity::builder::CreateEmbedAuthor [−][src]
A builder to create a fake Embed
object's author, for use with the
CreateEmbed::author
method.
Requires that you specify a name
.
Methods
impl CreateEmbedAuthor
[src]
impl CreateEmbedAuthor
pub fn icon_url(self, icon_url: &str) -> Self
[src]
pub fn icon_url(self, icon_url: &str) -> Self
Set the URL of the author's icon.
pub fn name(self, name: &str) -> Self
[src]
pub fn name(self, name: &str) -> Self
Set the author's name.
pub fn url(self, url: &str) -> Self
[src]
pub fn url(self, url: &str) -> Self
Set the author's URL.
Trait Implementations
impl Clone for CreateEmbedAuthor
[src]
impl Clone for CreateEmbedAuthor
fn clone(&self) -> CreateEmbedAuthor
[src]
fn clone(&self) -> CreateEmbedAuthor
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 CreateEmbedAuthor
[src]
impl Debug for CreateEmbedAuthor
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 CreateEmbedAuthor
[src]
impl Default for CreateEmbedAuthor
fn default() -> CreateEmbedAuthor
[src]
fn default() -> CreateEmbedAuthor
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for CreateEmbedAuthor
impl Send for CreateEmbedAuthor
impl Sync for CreateEmbedAuthor
impl Sync for CreateEmbedAuthor