pub struct MessageEmbed {Show 13 fields
pub title: Option<String>,
pub type: Option<EmbedType>,
pub description: Option<String>,
pub url: Option<String>,
pub timestamp: Option<TimeStamp>,
pub color: Option<u64>,
pub footer: Option<EmbedFooter>,
pub image: Option<EmbedImage>,
pub thumbnail: Option<EmbedThumbnail>,
pub video: Option<EmbedVideo>,
pub provider: Option<EmbedProvider>,
pub author: Option<EmbedAuthor>,
pub fields: Option<Vec<EmbedField>>,
}Fields§
§title: Option<String>§type: Option<EmbedType>§description: Option<String>§url: Option<String>§timestamp: Option<TimeStamp>§color: Option<u64>§image: Option<EmbedImage>§thumbnail: Option<EmbedThumbnail>§video: Option<EmbedVideo>§provider: Option<EmbedProvider>§fields: Option<Vec<EmbedField>>Trait Implementations§
Source§impl Debug for MessageEmbed
impl Debug for MessageEmbed
Source§impl Default for MessageEmbed
impl Default for MessageEmbed
Source§impl<'de> Deserialize<'de> for MessageEmbed
impl<'de> Deserialize<'de> for MessageEmbed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MessageEmbed
impl RefUnwindSafe for MessageEmbed
impl Send for MessageEmbed
impl Sync for MessageEmbed
impl Unpin for MessageEmbed
impl UnwindSafe for MessageEmbed
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