Expand description

Contains the description of an error in a Telegram Passport element; for bots only

Variants

DataField(InputPassportElementErrorSourceDataField)

A data field contains an error. The error is considered resolved when the field’s value changes

File(InputPassportElementErrorSourceFile)

The file contains an error. The error is considered resolved when the file changes

Files(InputPassportElementErrorSourceFiles)

The list of attached files contains an error. The error is considered resolved when the file list changes

FrontSide(InputPassportElementErrorSourceFrontSide)

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

ReverseSide(InputPassportElementErrorSourceReverseSide)

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

Selfie(InputPassportElementErrorSourceSelfie)

The selfie contains an error. The error is considered resolved when the file with the selfie changes

TranslationFile(InputPassportElementErrorSourceTranslationFile)

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

TranslationFiles(InputPassportElementErrorSourceTranslationFiles)

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

Unspecified(InputPassportElementErrorSourceUnspecified)

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

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)

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.