Struct twilight_embed_builder::EmbedAuthorBuilder [−][src]
pub struct EmbedAuthorBuilder(_);
Expand description
Create an embed author with a builder.
This can be passed into EmbedBuilder::author
.
Implementations
Build into an embed author.
Add an author icon.
The author’s name.
Refer to EmbedBuilder::AUTHOR_NAME_LENGTH_LIMIT
for the maximum
number of UTF-16 code points that can be in an author name.
Trait Implementations
Convert an embed author builder into an embed author.
This is equivalent to calling EmbedAuthorBuilder::build
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EmbedAuthorBuilder
impl Send for EmbedAuthorBuilder
impl Sync for EmbedAuthorBuilder
impl Unpin for EmbedAuthorBuilder
impl UnwindSafe for EmbedAuthorBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more