Struct tg_flows::MessageDice
source · pub struct MessageDice {
pub dice: Dice,
}Fields§
§dice: DiceMessage is a dice with random value from 1 to 6.
Trait Implementations§
source§impl Clone for MessageDice
impl Clone for MessageDice
source§fn clone(&self) -> MessageDice
fn clone(&self) -> MessageDice
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 MessageDice
impl Debug for MessageDice
source§impl<'de> Deserialize<'de> for MessageDice
impl<'de> Deserialize<'de> for MessageDice
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 PartialEq<MessageDice> for MessageDice
impl PartialEq<MessageDice> for MessageDice
source§fn eq(&self, other: &MessageDice) -> bool
fn eq(&self, other: &MessageDice) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MessageDice
impl Serialize for MessageDice
impl StructuralPartialEq for MessageDice
Auto Trait Implementations§
impl RefUnwindSafe for MessageDice
impl Send for MessageDice
impl Sync for MessageDice
impl Unpin for MessageDice
impl UnwindSafe for MessageDice
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more