Struct tg_bot_models::PassportElementErrorDataField[][src]

pub struct PassportElementErrorDataField {
    pub source: String,
    pub ty: String,
    pub field_name: String,
    pub data_hash: String,
    pub message: String,
}

Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.

Fields

Error source, must be data

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

Name of the data field which has the error

Base64-encoded data hash

Error message

Trait Implementations

impl Debug for PassportElementErrorDataField
[src]

Formats the value using the given formatter. Read more

impl Clone for PassportElementErrorDataField
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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