Enum rust_tdlib::types::DiceStickers
source · pub enum DiceStickers {
Regular(Box<DiceStickersRegular>),
SlotMachine(Box<DiceStickersSlotMachine>),
// some variants omitted
}
Expand description
Contains animated stickers which must be used for dice animation rendering
Variants§
Regular(Box<DiceStickersRegular>)
A regular animated sticker
SlotMachine(Box<DiceStickersSlotMachine>)
Animated stickers to be combined into a slot machine
Implementations§
Trait Implementations§
source§impl AsRef<DiceStickers> for DiceStickers
impl AsRef<DiceStickers> for DiceStickers
source§fn as_ref(&self) -> &DiceStickers
fn as_ref(&self) -> &DiceStickers
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for DiceStickers
impl Clone for DiceStickers
source§fn clone(&self) -> DiceStickers
fn clone(&self) -> DiceStickers
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 DiceStickers
impl Debug for DiceStickers
source§impl Default for DiceStickers
impl Default for DiceStickers
source§fn default() -> DiceStickers
fn default() -> DiceStickers
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DiceStickers
impl<'de> Deserialize<'de> for DiceStickers
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