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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PassportElementErrorSource
impl Debug for PassportElementErrorSource
Source§impl<'de> Deserialize<'de> for PassportElementErrorSource
impl<'de> Deserialize<'de> for PassportElementErrorSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for PassportElementErrorSource
impl PartialEq for PassportElementErrorSource
Source§fn eq(&self, other: &PassportElementErrorSource) -> bool
fn eq(&self, other: &PassportElementErrorSource) -> bool
self and other values to be equal, and is used by ==.