Struct rust_tdlib::types::DiceStickersSlotMachine
source · [−]pub struct DiceStickersSlotMachine { /* private fields */ }Expand description
Animated stickers to be combined into a slot machine
Implementations
sourceimpl DiceStickersSlotMachine
impl DiceStickersSlotMachine
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> DiceStickersSlotMachineBuilder
pub fn background(&self) -> &Sticker
pub fn lever(&self) -> &Sticker
pub fn left_reel(&self) -> &Sticker
pub fn center_reel(&self) -> &Sticker
pub fn right_reel(&self) -> &Sticker
Trait Implementations
sourceimpl AsRef<DiceStickersSlotMachine> for DiceStickersSlotMachine
impl AsRef<DiceStickersSlotMachine> for DiceStickersSlotMachine
sourcefn as_ref(&self) -> &DiceStickersSlotMachine
fn as_ref(&self) -> &DiceStickersSlotMachine
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DiceStickersSlotMachine
impl Clone for DiceStickersSlotMachine
sourcefn clone(&self) -> DiceStickersSlotMachine
fn clone(&self) -> DiceStickersSlotMachine
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 DiceStickersSlotMachine
impl Debug for DiceStickersSlotMachine
sourceimpl Default for DiceStickersSlotMachine
impl Default for DiceStickersSlotMachine
sourcefn default() -> DiceStickersSlotMachine
fn default() -> DiceStickersSlotMachine
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DiceStickersSlotMachine
impl<'de> Deserialize<'de> for DiceStickersSlotMachine
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 DiceStickersSlotMachine
impl Serialize for DiceStickersSlotMachine
impl TDDiceStickers for DiceStickersSlotMachine
Auto Trait Implementations
impl RefUnwindSafe for DiceStickersSlotMachine
impl Send for DiceStickersSlotMachine
impl Sync for DiceStickersSlotMachine
impl Unpin for DiceStickersSlotMachine
impl UnwindSafe for DiceStickersSlotMachine
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