Struct rust_tdlib::types::StickerSet
source · pub struct StickerSet { /* private fields */ }
Expand description
Represents a sticker set
Implementations§
source§impl StickerSet
impl StickerSet
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> StickerSetBuilder
pub fn id(&self) -> i64
pub fn title(&self) -> &String
pub fn name(&self) -> &String
pub fn thumbnail(&self) -> &Option<Thumbnail>
pub fn thumbnail_outline(&self) -> &Vec<ClosedVectorPath>
pub fn is_installed(&self) -> bool
pub fn is_archived(&self) -> bool
pub fn is_official(&self) -> bool
pub fn is_animated(&self) -> bool
pub fn is_masks(&self) -> bool
pub fn is_viewed(&self) -> bool
pub fn stickers(&self) -> &Vec<Sticker>
pub fn emojis(&self) -> &Vec<Emojis>
Trait Implementations§
source§impl AsRef<StickerSet> for StickerSet
impl AsRef<StickerSet> for StickerSet
source§fn as_ref(&self) -> &StickerSet
fn as_ref(&self) -> &StickerSet
Converts this type into a shared reference of the (usually inferred) input type.
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 Default for StickerSet
impl Default for StickerSet
source§fn default() -> StickerSet
fn default() -> StickerSet
Returns the “default value” for a type. Read more
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