Struct tg_bot_models::PassportData [−][src]
pub struct PassportData { pub data: Vec<EncryptedPassportElement>, pub credentials: EncryptedCredentials, }
Contains information about Telegram Passport data shared with the bot by the user.
Fields
data: Vec<EncryptedPassportElement>
Array with information about documents and other Telegram Passport elements that was shared with the bot
credentials: EncryptedCredentials
Encrypted credentials required to decrypt the data
Trait Implementations
impl Debug for PassportData
[src]
impl Debug for PassportData
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PassportData
[src]
impl Clone for PassportData
fn clone(&self) -> PassportData
[src]
fn clone(&self) -> PassportData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PassportData
[src]
impl PartialEq for PassportData
fn eq(&self, other: &PassportData) -> bool
[src]
fn eq(&self, other: &PassportData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PassportData) -> bool
[src]
fn ne(&self, other: &PassportData) -> bool
This method tests for !=
.
impl PartialOrd for PassportData
[src]
impl PartialOrd for PassportData
fn partial_cmp(&self, other: &PassportData) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &PassportData) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &PassportData) -> bool
[src]
fn lt(&self, other: &PassportData) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &PassportData) -> bool
[src]
fn le(&self, other: &PassportData) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &PassportData) -> bool
[src]
fn gt(&self, other: &PassportData) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &PassportData) -> bool
[src]
fn ge(&self, other: &PassportData) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Auto Trait Implementations
impl Send for PassportData
impl Send for PassportData
impl Sync for PassportData
impl Sync for PassportData