pub struct BotMediaPreviewInfo {
pub previews: Vec<BotMediaPreview>,
pub language_codes: Vec<String>,
}Expand description
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
Fields§
§previews: Vec<BotMediaPreview>List of media previews
language_codes: Vec<String>List of language codes 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 · 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 Default for BotMediaPreviewInfo
impl Default for BotMediaPreviewInfo
Source§fn default() -> BotMediaPreviewInfo
fn default() -> BotMediaPreviewInfo
Returns the “default value” for a type. Read more
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§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