Struct twilight_model::channel::embed::Embed [−][src]
pub struct Embed {Show fields
pub author: Option<EmbedAuthor>,
pub color: Option<u32>,
pub description: Option<String>,
pub fields: Vec<EmbedField>,
pub footer: Option<EmbedFooter>,
pub image: Option<EmbedImage>,
pub kind: String,
pub provider: Option<EmbedProvider>,
pub thumbnail: Option<EmbedThumbnail>,
pub timestamp: Option<String>,
pub title: Option<String>,
pub url: Option<String>,
pub video: Option<EmbedVideo>,
}Fields
color: Option<u32>description: Option<String>fields: Vec<EmbedField>image: Option<EmbedImage>kind: Stringprovider: Option<EmbedProvider>thumbnail: Option<EmbedThumbnail>timestamp: Option<String>title: Option<String>url: Option<String>video: Option<EmbedVideo>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Embedimpl UnwindSafe for EmbedBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more