pub struct StickerSetInfo {
pub id: i64,
pub title: String,
pub name: String,
pub is_installed: bool,
pub is_archived: bool,
pub is_official: bool,
pub is_masks: bool,
pub is_viewed: bool,
pub size: i32,
pub covers: Vec<Sticker>,
}
Expand description
Represents short information about a sticker set
Fields§
§id: i64
Identifier of the sticker set
title: String
Title of the sticker set
name: String
Name of the sticker set
is_installed: bool
True, if the sticker set has been installed by current user
is_archived: bool
True, if the sticker set has been archived. A sticker set can’t be installed and archived simultaneously
is_official: bool
True, if the sticker set is official
is_masks: bool
True, if the stickers in the set are masks
is_viewed: bool
True for already viewed trending sticker sets
size: i32
Total number of stickers in the set
covers: Vec<Sticker>
Contains up to the first 5 stickers from the set, depending on the context. If the client needs more stickers the full set should be requested
Trait Implementations§
Source§impl Clone for StickerSetInfo
impl Clone for StickerSetInfo
Source§fn clone(&self) -> StickerSetInfo
fn clone(&self) -> StickerSetInfo
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 StickerSetInfo
impl Debug for StickerSetInfo
Source§impl<'de> Deserialize<'de> for StickerSetInfo
impl<'de> Deserialize<'de> for StickerSetInfo
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
Auto Trait Implementations§
impl Freeze for StickerSetInfo
impl RefUnwindSafe for StickerSetInfo
impl Send for StickerSetInfo
impl Sync for StickerSetInfo
impl Unpin for StickerSetInfo
impl UnwindSafe for StickerSetInfo
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