[−][src]Struct twilight_builders::embed::AuthorBuilder
Implementations
impl AuthorBuilder
[src]
pub fn name(self, name: impl Into<String>) -> Self
[src]
The author's name.
Limited to 256 UTF-16 code points.
pub fn icon_url(self, icon_url: impl Into<String>) -> Self
[src]
Add an author icon.
Either the URL to an image or an attachment://
path.
pub fn url(self, url: impl Into<String>) -> Self
[src]
The author's url.
pub fn commit(self) -> EmbedBuilder
[src]
Build the author, and return the embed builder.
Auto Trait Implementations
impl RefUnwindSafe for AuthorBuilder
impl Send for AuthorBuilder
impl Sync for AuthorBuilder
impl Unpin for AuthorBuilder
impl UnwindSafe for AuthorBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,