pub struct Embed {
pub title: String,
pub description: Option<String>,
pub fields: Vec<Field>,
pub timestamp: Option<bool>,
pub color: Option<u32>,
pub footer: Option<Footer>,
pub image: Option<Image>,
pub thumbnail: Option<Thumbnail>,
pub video: Option<Video>,
pub provider: Option<Provider>,
pub author: Option<Author>,
}Fields§
§title: StringTitle of embed
description: Option<String>Description of embe
fields: Vec<Field>Fields information, max of 25
timestamp: Option<bool>Timestamp of embed content
color: Option<u32>Color code of the embed
Footer information
image: Option<Image>Image information
thumbnail: Option<Thumbnail>Thumbnail information
video: Option<Video>Video information
provider: Option<Provider>Provider information
Author information
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Embed
impl RefUnwindSafe for Embed
impl Send for Embed
impl Sync for Embed
impl Unpin for Embed
impl UnsafeUnpin for Embed
impl UnwindSafe for Embed
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