Struct serenity::utils::builder::CreateEmbedAuthor
[−]
[src]
pub struct CreateEmbedAuthor(pub ObjectBuilder);
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]
fn icon_url(self, icon_url: &str) -> Self
Set the URL of the author's icon.
fn name(self, name: &str) -> Self
Set the author's name.
fn url(self, url: &str) -> Self
Set the author's URL.
Trait Implementations
impl Default for CreateEmbedAuthor
[src]
fn default() -> CreateEmbedAuthor
Returns the "default value" for a type. Read more