Struct serenity::builder::CreateEmbedAuthor[][src]

pub struct CreateEmbedAuthor(pub VecMap<&'static str, Value>);

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]

Set the URL of the author's icon.

Set the author's name.

Set the author's URL.

Trait Implementations

impl Clone for CreateEmbedAuthor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CreateEmbedAuthor
[src]

Formats the value using the given formatter. Read more

impl Default for CreateEmbedAuthor
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations