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

Array with information about documents and other Telegram Passport elements that was shared with the bot

Encrypted credentials required to decrypt the data

Trait Implementations

impl Debug for PassportData
[src]

Formats the value using the given formatter. Read more

impl Clone for PassportData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PassportData
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for PassportData
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations