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§
source§impl StickerSet
impl StickerSet
pub fn from_json(data: JsonValue) -> StickerSet
pub fn to_json(&self) -> JsonValue
pub fn empty() -> StickerSet
Trait Implementations§
source§impl Clone for StickerSet
impl Clone for StickerSet
source§impl Display for StickerSet
impl Display for StickerSet
source§impl From<StickerSet> for JsonValue
impl From<StickerSet> for JsonValue
source§fn 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§
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