Struct telegram_api_rs::objects::StickerSet
source · 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>,
}
Fields
name: String
title: String
is_animated: bool
contains_masks: bool
stickers: Vec<Sticker>
thumb: Option<PhotoSize>
Implementations
sourceimpl StickerSet
impl StickerSet
pub fn from_json(data: JsonValue) -> StickerSet
pub fn to_json(&self) -> JsonValue
pub fn empty() -> StickerSet
Trait Implementations
sourceimpl Clone for StickerSet
impl Clone for StickerSet
sourceimpl Display for StickerSet
impl Display for StickerSet
sourceimpl From<StickerSet> for JsonValue
impl From<StickerSet> for JsonValue
sourcefn from(u: StickerSet) -> Self
fn from(u: StickerSet) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more