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