pub struct CreateEmbedAuthor(/* private fields */);
Expand description
A builder to create the author data of an embed. See CreateEmbed::author
Implementations§
Trait Implementations§
Source§impl Clone for CreateEmbedAuthor
impl Clone for CreateEmbedAuthor
Source§fn clone(&self) -> CreateEmbedAuthor
fn clone(&self) -> CreateEmbedAuthor
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 CreateEmbedAuthor
impl Debug for CreateEmbedAuthor
Source§impl From<&User> for CreateEmbedAuthor
impl From<&User> for CreateEmbedAuthor
Source§impl From<EmbedAuthor> for CreateEmbedAuthor
impl From<EmbedAuthor> for CreateEmbedAuthor
Source§fn from(author: EmbedAuthor) -> Self
fn from(author: EmbedAuthor) -> Self
Converts to this type from the input type.
Source§impl From<User> for CreateEmbedAuthor
impl From<User> for CreateEmbedAuthor
Auto Trait Implementations§
impl Freeze for CreateEmbedAuthor
impl RefUnwindSafe for CreateEmbedAuthor
impl Send for CreateEmbedAuthor
impl Sync for CreateEmbedAuthor
impl Unpin for CreateEmbedAuthor
impl UnwindSafe for CreateEmbedAuthor
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