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: StringHash of the asset.
description: StringDescription of the sticker.
format_type: StickerFormatTypeFormat type.
id: StickerIdUnique ID of the sticker.
name: StringName of the sticker.
pack_id: StickerPackIdUnique 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 Stickerimpl UnwindSafe for StickerBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more