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