Struct noob::builder::EmbedBuilder [−][src]
pub struct EmbedBuilder<'a> { /* fields omitted */ }
Builder for a message embed
Methods
impl<'a> EmbedBuilder<'a>
[src]
impl<'a> EmbedBuilder<'a>
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn set_title(&mut self, title: &'a str)
[src]
pub fn set_title(&mut self, title: &'a str)
pub fn with_title(self, title: &'a str) -> Self
[src]
pub fn with_title(self, title: &'a str) -> Self
pub fn set_color(&mut self, color: u32)
[src]
pub fn set_color(&mut self, color: u32)
pub fn with_color(self, color: u32) -> Self
[src]
pub fn with_color(self, color: u32) -> Self
pub fn add_field(&mut self, field: &'a EmbedField<'a>)
[src]
pub fn add_field(&mut self, field: &'a EmbedField<'a>)
pub fn with_field(self, field: &'a EmbedField<'a>) -> Self
[src]
pub fn with_field(self, field: &'a EmbedField<'a>) -> Self
pub fn set_description(&mut self, description: &'a str)
[src]
pub fn set_description(&mut self, description: &'a str)
pub fn with_description(self, description: &'a str) -> Self
[src]
pub fn with_description(self, description: &'a str) -> Self
pub fn set_timestamp(&mut self, timestamp: &'a str)
[src]
pub fn set_timestamp(&mut self, timestamp: &'a str)
pub fn with_timestamp(self, timestamp: &'a str) -> Self
[src]
pub fn with_timestamp(self, timestamp: &'a str) -> Self
Trait Implementations
impl<'a> Default for EmbedBuilder<'a>
[src]
impl<'a> Default for EmbedBuilder<'a>
fn default() -> EmbedBuilder<'a>
[src]
fn default() -> EmbedBuilder<'a>
Returns the "default value" for a type. Read more
impl<'a> Debug for EmbedBuilder<'a>
[src]
impl<'a> Debug for EmbedBuilder<'a>
Auto Trait Implementations
impl<'a> Send for EmbedBuilder<'a>
impl<'a> Send for EmbedBuilder<'a>
impl<'a> Sync for EmbedBuilder<'a>
impl<'a> Sync for EmbedBuilder<'a>