pub enum BotMediaPreviewInfo {
BotMediaPreviewInfo(BotMediaPreviewInfo),
}Variants§
BotMediaPreviewInfo(BotMediaPreviewInfo)
Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews
Trait Implementations§
Source§impl Clone for BotMediaPreviewInfo
impl Clone for BotMediaPreviewInfo
Source§fn clone(&self) -> BotMediaPreviewInfo
fn clone(&self) -> BotMediaPreviewInfo
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 BotMediaPreviewInfo
impl Debug for BotMediaPreviewInfo
Source§impl<'de> Deserialize<'de> for BotMediaPreviewInfo
impl<'de> Deserialize<'de> for BotMediaPreviewInfo
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 BotMediaPreviewInfo
impl PartialEq for BotMediaPreviewInfo
Source§fn eq(&self, other: &BotMediaPreviewInfo) -> bool
fn eq(&self, other: &BotMediaPreviewInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BotMediaPreviewInfo
impl Serialize for BotMediaPreviewInfo
impl StructuralPartialEq for BotMediaPreviewInfo
Auto Trait Implementations§
impl Freeze for BotMediaPreviewInfo
impl RefUnwindSafe for BotMediaPreviewInfo
impl Send for BotMediaPreviewInfo
impl Sync for BotMediaPreviewInfo
impl Unpin for BotMediaPreviewInfo
impl UnsafeUnpin for BotMediaPreviewInfo
impl UnwindSafe for BotMediaPreviewInfo
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