Struct telexide_fork::model::PassportData
source · pub struct PassportData {
pub data: Vec<EncryptedCredentials>,
pub credentials: EncryptedCredentials,
}Expand description
Contains information about Telegram Passport data shared with the bot by the user.
Fields§
§data: Vec<EncryptedCredentials>Vec with information about documents and other Telegram Passport elements that was shared with the bot
credentials: EncryptedCredentialsEncrypted credentials required to decrypt the data
Trait Implementations§
source§impl Clone for PassportData
impl Clone for PassportData
source§fn clone(&self) -> PassportData
fn clone(&self) -> PassportData
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 PassportData
impl Debug for PassportData
source§impl<'de> Deserialize<'de> for PassportData
impl<'de> Deserialize<'de> for PassportData
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 PartialEq<PassportData> for PassportData
impl PartialEq<PassportData> for PassportData
source§fn eq(&self, other: &PassportData) -> bool
fn eq(&self, other: &PassportData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.