pub enum PassportElementErrorSource {
Unspecified,
DataField(PassportElementErrorSourceDataField),
FrontSide,
ReverseSide,
Selfie,
TranslationFile(PassportElementErrorSourceTranslationFile),
TranslationFiles,
File(PassportElementErrorSourceFile),
Files,
}
Variants§
Unspecified
The element contains an error in an unspecified place. The error will be considered resolved when new data is added
DataField(PassportElementErrorSourceDataField)
One of the data fields contains an error. The error will be considered resolved when the value of the field changes
FrontSide
The front side of the document contains an error. The error will be considered resolved when the file with the front side changes
ReverseSide
The reverse side of the document contains an error. The error will be considered resolved when the file with the reverse side changes
Selfie
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
The translation of the document contains an error. The error will be considered resolved when the list of translation files changes
File(PassportElementErrorSourceFile)
The file contains an error. The error will be considered resolved when the file changes
Files
The list of attached files contains an error. The error will be considered resolved when the list of files changes
Trait Implementations§
Source§impl Clone for PassportElementErrorSource
impl Clone for PassportElementErrorSource
Source§fn clone(&self) -> PassportElementErrorSource
fn clone(&self) -> PassportElementErrorSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more