pub struct SendableEmbed {
pub kind: String,
pub title: Option<String>,
pub description: Option<String>,
pub url: Option<String>,
pub colour: Option<String>,
pub icon_url: Option<String>,
pub media: Option<String>,
}Fields§
§kind: String§title: Option<String>§description: Option<String>§url: Option<String>§colour: Option<String>§icon_url: Option<String>§media: Option<String>Trait Implementations§
Source§impl Clone for SendableEmbed
impl Clone for SendableEmbed
Source§fn clone(&self) -> SendableEmbed
fn clone(&self) -> SendableEmbed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendableEmbed
impl Debug for SendableEmbed
Source§impl Default for SendableEmbed
impl Default for SendableEmbed
Source§fn default() -> SendableEmbed
fn default() -> SendableEmbed
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendableEmbed
impl RefUnwindSafe for SendableEmbed
impl Send for SendableEmbed
impl Sync for SendableEmbed
impl Unpin for SendableEmbed
impl UnsafeUnpin for SendableEmbed
impl UnwindSafe for SendableEmbed
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