pub struct StickerPack {
pub banner_asset_id: Option<Id<StickerBannerAssetMarker>>,
pub cover_sticker_id: Option<Id<StickerMarker>>,
pub description: String,
pub id: Id<StickerPackMarker>,
pub name: String,
pub sku_id: Id<StickerPackSkuMarker>,
pub stickers: Vec<Sticker>,
}
Expand description
Pack of Standard
stickers.
Fields§
ID of the sticker pack’s banner image.
cover_sticker_id: Option<Id<StickerMarker>>
ID of the sticker that is shown as the pack’s icon.
description: String
Description of the sticker pack.
id: Id<StickerPackMarker>
ID of the sticker pack.
name: String
Name of the sticker pack.
sku_id: Id<StickerPackSkuMarker>
ID of the pack’s SKU.
stickers: Vec<Sticker>
List of stickers in the pack.
Trait Implementations§
source§impl Clone for StickerPack
impl Clone for StickerPack
source§fn clone(&self) -> StickerPack
fn clone(&self) -> StickerPack
Returns a copy of the value. Read more
1.0.0 · 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 StickerPack
impl Debug for StickerPack
source§impl<'de> Deserialize<'de> for StickerPack
impl<'de> Deserialize<'de> for StickerPack
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 Hash for StickerPack
impl Hash for StickerPack
source§impl PartialEq for StickerPack
impl PartialEq for StickerPack
source§impl Serialize for StickerPack
impl Serialize for StickerPack
impl Eq for StickerPack
impl StructuralPartialEq for StickerPack
Auto Trait Implementations§
impl Freeze for StickerPack
impl RefUnwindSafe for StickerPack
impl Send for StickerPack
impl Sync for StickerPack
impl Unpin for StickerPack
impl UnwindSafe for StickerPack
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)