Struct tg_bot_models::PassportElementErrorSelfie[][src]

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

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

Fields

Error source, must be selfie

The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”

Base64-encoded hash of the file with the selfie

Error message

Trait Implementations

impl Debug for PassportElementErrorSelfie
[src]

Formats the value using the given formatter. Read more

impl Clone for PassportElementErrorSelfie
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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