Struct telexide::model::StickerSet
source · pub struct StickerSet {
pub name: String,
pub title: String,
pub sticker_type: StickerType,
pub is_animated: bool,
pub stickers: Vec<Sticker>,
pub thumbnail: Option<PhotoSize>,
}
Expand description
This object represents a sticker set.
Fields§
§name: String
Sticker set name
title: String
Sticker set title
sticker_type: StickerType
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
is_animated: bool
True, if the sticker set contains animated stickers
stickers: Vec<Sticker>
List of all set stickers
thumbnail: Option<PhotoSize>
Optional. Sticker set thumbnail in the .WEBP or .TGS format
Trait Implementations§
source§impl Clone for StickerSet
impl Clone for StickerSet
source§fn clone(&self) -> StickerSet
fn clone(&self) -> StickerSet
Returns a copy 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
source§impl PartialEq for StickerSet
impl PartialEq for StickerSet
source§fn eq(&self, other: &StickerSet) -> bool
fn eq(&self, other: &StickerSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StickerSet
impl Serialize for StickerSet
impl StructuralPartialEq for StickerSet
Auto Trait Implementations§
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