Struct twilight_model::channel::message::sticker::StickerPack [−][src]
pub struct StickerPack {
pub banner_asset_id: StickerBannerAssetId,
pub cover_sticker_id: Option<StickerId>,
pub description: String,
pub id: StickerPackId,
pub name: String,
pub sku_id: StickerPackSkuId,
pub stickers: Vec<Sticker>,
}Expand description
Pack of Standard stickers.
Fields
ID of the sticker pack’s banner image.
cover_sticker_id: Option<StickerId>ID of the sticker that is shown as the pack’s icon.
description: StringDescription of the sticker pack.
id: StickerPackIdID of the sticker pack.
name: StringName of the sticker pack.
sku_id: StickerPackSkuIdID of the pack’s SKU.
stickers: Vec<Sticker>List of stickers in the pack.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StickerPack
impl Send for StickerPack
impl Sync for StickerPack
impl Unpin for StickerPack
impl UnwindSafe for StickerPack
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more