Struct tg_bot_models::PassportElementErrorFiles[][src]

pub struct PassportElementErrorFiles {
    pub source: String,
    pub ty: String,
    pub file_hashes: Vec<String>,
    pub message: String,
}

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

Fields

Error source, must be files

The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”

List of base64-encoded file hashes

Error message

Trait Implementations

impl Debug for PassportElementErrorFiles
[src]

Formats the value using the given formatter. Read more

impl Clone for PassportElementErrorFiles
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PassportElementErrorFiles
[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 PassportElementErrorFiles
[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