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