pub enum BotMediaPreview {
BotMediaPreview(BotMediaPreview),
}Variants§
BotMediaPreview(BotMediaPreview)
Describes media previews of a bot
Trait Implementations§
Source§impl Clone for BotMediaPreview
impl Clone for BotMediaPreview
Source§fn clone(&self) -> BotMediaPreview
fn clone(&self) -> BotMediaPreview
Returns a duplicate of the value. Read more
1.0.0 · 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 BotMediaPreview
impl Debug for BotMediaPreview
Source§impl<'de> Deserialize<'de> for BotMediaPreview
impl<'de> Deserialize<'de> for BotMediaPreview
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
Source§impl PartialEq for BotMediaPreview
impl PartialEq for BotMediaPreview
Source§impl Serialize for BotMediaPreview
impl Serialize for BotMediaPreview
impl StructuralPartialEq for BotMediaPreview
Auto Trait Implementations§
impl Freeze for BotMediaPreview
impl RefUnwindSafe for BotMediaPreview
impl Send for BotMediaPreview
impl Sync for BotMediaPreview
impl Unpin for BotMediaPreview
impl UnsafeUnpin for BotMediaPreview
impl UnwindSafe for BotMediaPreview
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