pub struct StickerSet {
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 stickers: Vec<Sticker>,
pub emojis: Vec<StickerEmojis>,
}
Expand description
Represents 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 the 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
stickers: Vec<Sticker>
List of stickers in this set
emojis: Vec<StickerEmojis>
A list of emoji corresponding to the stickers in the same order
Trait Implementations§
Source§impl Clone for StickerSet
impl Clone for StickerSet
Source§fn clone(&self) -> StickerSet
fn clone(&self) -> StickerSet
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 StickerSet
impl Debug for StickerSet
Source§impl<'de> Deserialize<'de> for StickerSet
impl<'de> Deserialize<'de> for StickerSet
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 StickerSet
impl RefUnwindSafe for StickerSet
impl Send for StickerSet
impl Sync for StickerSet
impl Unpin for StickerSet
impl UnwindSafe for StickerSet
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