pub struct EmbedAuthorBuilder(/* private fields */);
Available on crate feature
builder
only.Expand description
Create an embed author with a builder.
This can be passed into EmbedBuilder::author
.
Implementations§
Source§impl EmbedAuthorBuilder
impl EmbedAuthorBuilder
Sourcepub fn icon_url(self, image_source: ImageSource) -> Self
pub fn icon_url(self, image_source: ImageSource) -> Self
Add an author icon.
Trait Implementations§
Source§impl Clone for EmbedAuthorBuilder
impl Clone for EmbedAuthorBuilder
Source§fn clone(&self) -> EmbedAuthorBuilder
fn clone(&self) -> EmbedAuthorBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EmbedAuthorBuilder
impl Debug for EmbedAuthorBuilder
Source§impl From<EmbedAuthorBuilder> for EmbedAuthor
impl From<EmbedAuthorBuilder> for EmbedAuthor
Source§fn from(builder: EmbedAuthorBuilder) -> Self
fn from(builder: EmbedAuthorBuilder) -> Self
Convert an embed author builder into an embed author.
This is equivalent to calling EmbedAuthorBuilder::build
.
Source§impl PartialEq for EmbedAuthorBuilder
impl PartialEq for EmbedAuthorBuilder
impl Eq for EmbedAuthorBuilder
impl StructuralPartialEq for EmbedAuthorBuilder
Auto Trait Implementations§
impl Freeze for EmbedAuthorBuilder
impl RefUnwindSafe for EmbedAuthorBuilder
impl Send for EmbedAuthorBuilder
impl Sync for EmbedAuthorBuilder
impl Unpin for EmbedAuthorBuilder
impl UnwindSafe for EmbedAuthorBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more