Struct twilight_model::channel::message::sticker::MessageSticker
source · pub struct MessageSticker {
pub format_type: StickerFormatType,
pub id: Id<StickerMarker>,
pub name: String,
}Expand description
Smallest amount of data required to render a Sticker.
Fields§
§format_type: StickerFormatTypeFormat type.
id: Id<StickerMarker>ID of the sticker.
name: StringName of the sticker.
Trait Implementations§
source§impl Clone for MessageSticker
impl Clone for MessageSticker
source§fn clone(&self) -> MessageSticker
fn clone(&self) -> MessageSticker
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 MessageSticker
impl Debug for MessageSticker
source§impl<'de> Deserialize<'de> for MessageSticker
impl<'de> Deserialize<'de> for MessageSticker
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 MessageSticker
impl Hash for MessageSticker
source§impl PartialEq<MessageSticker> for MessageSticker
impl PartialEq<MessageSticker> for MessageSticker
source§fn eq(&self, other: &MessageSticker) -> bool
fn eq(&self, other: &MessageSticker) -> bool
This method tests for
self and other values to be equal, and is used
by ==.