Struct rust_tdlib::types::StickerSetInfo
source · pub struct StickerSetInfo { /* private fields */ }
Expand description
Represents short information about a sticker set
Implementations§
source§impl StickerSetInfo
impl StickerSetInfo
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> StickerSetInfoBuilder
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 size(&self) -> i32
pub fn covers(&self) -> &Vec<Sticker>
Trait Implementations§
source§impl AsRef<StickerSetInfo> for StickerSetInfo
impl AsRef<StickerSetInfo> for StickerSetInfo
source§fn as_ref(&self) -> &StickerSetInfo
fn as_ref(&self) -> &StickerSetInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for StickerSetInfo
impl Clone for StickerSetInfo
source§fn clone(&self) -> StickerSetInfo
fn clone(&self) -> StickerSetInfo
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 StickerSetInfo
impl Debug for StickerSetInfo
source§impl Default for StickerSetInfo
impl Default for StickerSetInfo
source§fn default() -> StickerSetInfo
fn default() -> StickerSetInfo
Returns the “default value” for a type. Read more
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