[−][src]Struct dyscord::message::MessageBuilder
Methods
impl MessageBuilder
[src]
pub fn new() -> MessageBuilder
[src]
pub fn content(&mut self, content: Cow<str>) -> &mut Self
[src]
pub fn nonce(&mut self, nonce: Cow<str>) -> &mut Self
[src]
pub fn tts(&mut self, tts: bool) -> &mut Self
[src]
pub fn mention_nobody(&mut self) -> &mut Self
[src]
pub fn mention_parsed(&mut self) -> &mut Self
[src]
pub fn allow_mention_parse(&mut self, ty: AllowedMentionTypes) -> &mut Self
[src]
pub fn allow_mention_role(&mut self, role: Snowflake) -> &mut Self
[src]
pub fn allow_mention_user(&mut self, user: Snowflake) -> &mut Self
[src]
pub fn embed_title(&mut self, title: Cow<str>) -> &mut Self
[src]
pub fn embed_type(&mut self, ty: EmbedType) -> &mut Self
[src]
pub fn embed_description(&mut self, desc: Cow<str>) -> &mut Self
[src]
pub fn embed_url(&mut self, url: Cow<str>) -> &mut Self
[src]
pub fn embed_timestamp(&mut self, ts: TimeStamp) -> &mut Self
[src]
pub fn embed_color(&mut self, color: u64) -> &mut Self
[src]
pub fn embed_footer_text(&mut self, text: Cow<str>) -> &mut Self
[src]
pub fn embed_footer_icon(&mut self, icon: Cow<str>) -> &mut Self
[src]
pub fn embed_image(&mut self, url: Cow<str>) -> &mut Self
[src]
pub fn embed_thumbnail(&mut self, url: Cow<str>) -> &mut Self
[src]
pub fn embed_video(&mut self, url: Cow<str>) -> &mut Self
[src]
pub fn embed_provider_name(&mut self, name: Cow<str>) -> &mut Self
[src]
pub fn embed_provider_url(&mut self, url: Cow<str>) -> &mut Self
[src]
pub fn embed_author_name(&mut self, name: Cow<str>) -> &mut Self
[src]
pub fn embed_author_url(&mut self, url: Cow<str>) -> &mut Self
[src]
pub fn embed_author_icon(&mut self, url: Cow<str>) -> &mut Self
[src]
pub fn embed_field(
&mut self,
name: Cow<str>,
value: Cow<str>,
inline: bool
) -> &mut Self
[src]
&mut self,
name: Cow<str>,
value: Cow<str>,
inline: bool
) -> &mut Self
Auto Trait Implementations
impl RefUnwindSafe for MessageBuilder
impl Send for MessageBuilder
impl Sync for MessageBuilder
impl Unpin for MessageBuilder
impl UnwindSafe for MessageBuilder
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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,