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
sourceimpl AsRef<DiceStickers> for DiceStickers
impl AsRef<DiceStickers> for DiceStickers
sourcefn as_ref(&self) -> &DiceStickers
fn as_ref(&self) -> &DiceStickers
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DiceStickers
impl Clone for DiceStickers
sourcefn clone(&self) -> DiceStickers
fn clone(&self) -> DiceStickers
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DiceStickers
impl Debug for DiceStickers
sourceimpl Default for DiceStickers
impl Default for DiceStickers
sourceimpl<'de> Deserialize<'de> for DiceStickers
impl<'de> Deserialize<'de> for DiceStickers
sourcefn 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
sourceimpl Serialize for DiceStickers
impl Serialize for DiceStickers
Auto Trait Implementations
impl RefUnwindSafe for DiceStickers
impl Send for DiceStickers
impl Sync for DiceStickers
impl Unpin for DiceStickers
impl UnwindSafe for DiceStickers
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more