Enum rust_tdlib::types::PassportElementErrorSource [−][src]
pub enum PassportElementErrorSource { DataField(PassportElementErrorSourceDataField), File(PassportElementErrorSourceFile), Files(PassportElementErrorSourceFiles), FrontSide(PassportElementErrorSourceFrontSide), ReverseSide(PassportElementErrorSourceReverseSide), Selfie(PassportElementErrorSourceSelfie), TranslationFile(PassportElementErrorSourceTranslationFile), TranslationFiles(PassportElementErrorSourceTranslationFiles), Unspecified(PassportElementErrorSourceUnspecified), // some variants omitted }
Expand description
Contains the description of an error in a Telegram Passport element
Variants
DataField(PassportElementErrorSourceDataField)
One of the data fields contains an error. The error will be considered resolved when the value of the field changes
The file contains an error. The error will be considered resolved when the file changes
The list of attached files contains an error. The error will be considered resolved when the list of files changes
FrontSide(PassportElementErrorSourceFrontSide)
The front side of the document contains an error. The error will be considered resolved when the file with the front side changes
ReverseSide(PassportElementErrorSourceReverseSide)
The reverse side of the document contains an error. The error will be considered resolved when the file with the reverse side changes
Selfie(PassportElementErrorSourceSelfie)
The selfie with the document contains an error. The error will be considered resolved when the file with the selfie changes
TranslationFile(PassportElementErrorSourceTranslationFile)
One of files with the translation of the document contains an error. The error will be considered resolved when the file changes
TranslationFiles(PassportElementErrorSourceTranslationFiles)
The translation of the document contains an error. The error will be considered resolved when the list of translation files changes
Unspecified(PassportElementErrorSourceUnspecified)
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.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PassportElementErrorSource
impl Send for PassportElementErrorSource
impl Sync for PassportElementErrorSource
impl Unpin for PassportElementErrorSource
impl UnwindSafe for PassportElementErrorSource
Blanket Implementations
Mutably borrows from an owned value. Read more