Struct botapi::gen_types::NoSkipDice
source · pub struct NoSkipDice { /* private fields */ }
Expand description
Companion type to Dice that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Implementations§
Trait Implementations§
source§impl Clone for NoSkipDice
impl Clone for NoSkipDice
source§fn clone(&self) -> NoSkipDice
fn clone(&self) -> NoSkipDice
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 NoSkipDice
impl Debug for NoSkipDice
source§impl Default for NoSkipDice
impl Default for NoSkipDice
source§fn default() -> NoSkipDice
fn default() -> NoSkipDice
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipDice
impl<'de> Deserialize<'de> for NoSkipDice
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 From<NoSkipDice> for Dice
impl From<NoSkipDice> for Dice
source§fn from(t: NoSkipDice) -> Self
fn from(t: NoSkipDice) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipDice> for Dice
impl Into<NoSkipDice> for Dice
source§fn into(self) -> NoSkipDice
fn into(self) -> NoSkipDice
Converts this type into the (usually inferred) input type.