Struct twilight_model::channel::message::sticker::Sticker [−][src]
pub struct Sticker { pub asset: String, pub description: String, pub format_type: StickerFormatType, pub id: StickerId, pub name: String, pub pack_id: StickerPackId, pub tags: Option<String>, }
Expand description
Message sticker.
Fields
asset: String
Hash of the asset.
description: String
Description of the sticker.
format_type: StickerFormatType
Format type.
id: StickerId
Unique ID of the sticker.
name: String
Name of the sticker.
pack_id: StickerPackId
Unique ID of the pack the sticker is in.
CSV list of tags the sticker is assigned to, if any.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Sticker
impl UnwindSafe for Sticker
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more