pub struct StickerSet {
pub name: String,
pub title: String,
pub is_animated: bool,
pub contains_masks: bool,
pub stickers: Vec<Sticker>,
pub thumb: Option<PhotoSize>,
}Expand description
This object represents a sticker set.
Fields§
§name: StringSticker set name
title: StringSticker set title
is_animated: boolTrue, if the sticker set contains animated stickers
contains_masks: boolTrue, if the sticker set contains masks
stickers: Vec<Sticker>List of all set stickers
thumb: Option<PhotoSize>Sticker set thumbnail in the .WEBP or .TGS format
Trait Implementations§
Source§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