[][src]Struct tg_bot_models::PassportElementErrorDataField

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

source: String

Error source, must be data

ty: String

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

field_name: String

Name of the data field which has the error

data_hash: String

Base64-encoded data hash

message: String

Error message

Trait Implementations

impl PartialEq<PassportElementErrorDataField> for PassportElementErrorDataField[src]

impl Clone for PassportElementErrorDataField[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<PassportElementErrorDataField> for PassportElementErrorDataField[src]

impl Debug for PassportElementErrorDataField[src]

impl Serialize for PassportElementErrorDataField[src]

impl<'de> Deserialize<'de> for PassportElementErrorDataField[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]