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