Struct tg_bot_models::PassportElementErrorFile[][src]

pub struct PassportElementErrorFile {
    pub source: String,
    pub ty: String,
    pub file_hash: String,
    pub message: String,
}

Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.

Fields

Error source, must be file

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

Base64-encoded file hash

Error message

Trait Implementations

impl Debug for PassportElementErrorFile
[src]

Formats the value using the given formatter. Read more

impl Clone for PassportElementErrorFile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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