Enum rtdlib::types::PassportElementErrorSource[][src]

Expand description

Contains the description of an error in a Telegram Passport element

Variants

DataField

One of the data fields contains an error. The error will be considered resolved when the value of the field changes

Tuple Fields of DataField

0: PassportElementErrorSourceDataField
File

The file contains an error. The error will be considered resolved when the file changes

Tuple Fields of File

0: PassportElementErrorSourceFile
Files

The list of attached files contains an error. The error will be considered resolved when the list of files changes

Tuple Fields of Files

0: PassportElementErrorSourceFiles
FrontSide

The front side of the document contains an error. The error will be considered resolved when the file with the front side changes

Tuple Fields of FrontSide

0: PassportElementErrorSourceFrontSide
ReverseSide

The reverse side of the document contains an error. The error will be considered resolved when the file with the reverse side changes

Tuple Fields of ReverseSide

0: PassportElementErrorSourceReverseSide
Selfie

The selfie with the document contains an error. The error will be considered resolved when the file with the selfie changes

Tuple Fields of Selfie

0: PassportElementErrorSourceSelfie
TranslationFile

One of files with the translation of the document contains an error. The error will be considered resolved when the file changes

Tuple Fields of TranslationFile

0: PassportElementErrorSourceTranslationFile
TranslationFiles

The translation of the document contains an error. The error will be considered resolved when the list of translation files changes

Tuple Fields of TranslationFiles

0: PassportElementErrorSourceTranslationFiles
Unspecified

The element contains an error in an unspecified place. The error will be considered resolved when new data is added

Tuple Fields of Unspecified

0: PassportElementErrorSourceUnspecified

Implementations

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Return td type to json string

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.