pub struct StickerSet {
pub name: String,
pub title: String,
pub sticker_type: StickerType,
pub stickers: Vec<Sticker>,
pub thumbnail: Option<PhotoSize>,
/* private fields */
}Fields§
§name: String§title: String§sticker_type: StickerType§stickers: Vec<Sticker>§thumbnail: Option<PhotoSize>Implementations§
Source§impl StickerSet
impl StickerSet
Sourcepub fn builder() -> StickerSetBuilder
pub fn builder() -> StickerSetBuilder
Create an instance of StickerSet using the builder syntax
Trait Implementations§
Source§impl Clone for StickerSet
impl Clone for StickerSet
Source§fn clone(&self) -> StickerSet
fn clone(&self) -> StickerSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
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 Freeze for StickerSet
impl RefUnwindSafe for StickerSet
impl Send for StickerSet
impl Sync for StickerSet
impl Unpin for StickerSet
impl UnsafeUnpin 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