Struct botapi::gen_types::NoSkipDocument
source · pub struct NoSkipDocument { /* private fields */ }
Expand description
Companion type to Document 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 NoSkipDocument
impl Clone for NoSkipDocument
source§fn clone(&self) -> NoSkipDocument
fn clone(&self) -> NoSkipDocument
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 NoSkipDocument
impl Debug for NoSkipDocument
source§impl Default for NoSkipDocument
impl Default for NoSkipDocument
source§fn default() -> NoSkipDocument
fn default() -> NoSkipDocument
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipDocument
impl<'de> Deserialize<'de> for NoSkipDocument
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<NoSkipDocument> for Document
impl From<NoSkipDocument> for Document
source§fn from(t: NoSkipDocument) -> Self
fn from(t: NoSkipDocument) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipDocument> for Document
impl Into<NoSkipDocument> for Document
source§fn into(self) -> NoSkipDocument
fn into(self) -> NoSkipDocument
Converts this type into the (usually inferred) input type.