[][src]Struct noob::builder::EmbedBuilder

pub struct EmbedBuilder<'a> { /* fields omitted */ }

Builder for a message embed

Implementations

impl<'a> EmbedBuilder<'a>[src]

pub fn new() -> Self[src]

pub fn set_title(&mut self, title: &'a str)[src]

pub fn with_title(self, title: &'a str) -> Self[src]

pub fn set_author(&mut self, author: &'a EmbedAuthor<'a>)[src]

pub fn with_author(self, author: &'a EmbedAuthor<'a>) -> Self[src]

pub fn set_color(&mut self, color: u32)[src]

pub fn with_color(self, color: u32) -> Self[src]

pub fn add_field(&mut self, field: &'a EmbedField<'a>)[src]

pub fn with_field(self, field: &'a EmbedField<'a>) -> Self[src]

pub fn set_description(&mut self, description: &'a str)[src]

pub fn with_description(self, description: &'a str) -> Self[src]

pub fn set_timestamp(&mut self, timestamp: &'a str)[src]

pub fn with_timestamp(self, timestamp: &'a str) -> Self[src]

Trait Implementations

impl<'a> Debug for EmbedBuilder<'a>[src]

impl<'a> Default for EmbedBuilder<'a>[src]

impl<'a> Serialize for EmbedBuilder<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for EmbedBuilder<'a>

impl<'a> Send for EmbedBuilder<'a>

impl<'a> Sync for EmbedBuilder<'a>

impl<'a> Unpin for EmbedBuilder<'a>

impl<'a> UnwindSafe for EmbedBuilder<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,