#[non_exhaustive]pub struct Set {
pub name: String,
pub title: String,
pub kind: Kind,
pub stickers: Vec<Sticker>,
pub thumb: Option<PhotoSize>,
}Expand description
Represents a StickerSet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of the sticker set (used in URLs).
title: StringThe title of the sticker set (shown to the user).
kind: KindThe kind of the sticker set.
stickers: Vec<Sticker>The stickers from this set.
thumb: Option<PhotoSize>The thumb of the sticker set.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Set
impl<'de> Deserialize<'de> for Set
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