#[repr(u8)]pub enum StickerType {
Standard = 1,
Guild = 2,
}Expand description
Variants§
Standard = 1
an official sticker in a pack, part of Nitro or in a removed purchasable pack
Guild = 2
a sticker uploaded to a guild for the guild’s members
Trait Implementations§
Source§impl Debug for StickerType
impl Debug for StickerType
Source§impl<'de> Deserialize<'de> for StickerType
impl<'de> Deserialize<'de> for StickerType
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
Auto Trait Implementations§
impl Freeze for StickerType
impl RefUnwindSafe for StickerType
impl Send for StickerType
impl Sync for StickerType
impl Unpin for StickerType
impl UnwindSafe for StickerType
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