[][src]Struct twilight_model::channel::message::sticker::Sticker

pub struct Sticker {
    pub asset: String,
    pub description: String,
    pub format_type: StickerFormatType,
    pub id: StickerId,
    pub name: String,
    pub pack_id: StickerPackId,
    pub preview_asset: Option<String>,
    pub tags: Option<String>,
}

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.

preview_asset: Option<String>

Hash of the preview asset, if it has one.

tags: Option<String>

CSV list of tags the sticker is assigned to, if any.

Trait Implementations

impl Clone for Sticker[src]

impl Debug for Sticker[src]

impl<'de> Deserialize<'de> for Sticker[src]

impl Eq for Sticker[src]

impl Hash for Sticker[src]

impl PartialEq<Sticker> for Sticker[src]

impl Serialize for Sticker[src]

impl StructuralEq for Sticker[src]

impl StructuralPartialEq for Sticker[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.