pub enum InputPassportElementErrorSource {
Unspecified(InputPassportElementErrorSourceUnspecified),
DataField(InputPassportElementErrorSourceDataField),
FrontSide(InputPassportElementErrorSourceFrontSide),
ReverseSide(InputPassportElementErrorSourceReverseSide),
Selfie(InputPassportElementErrorSourceSelfie),
TranslationFile(InputPassportElementErrorSourceTranslationFile),
TranslationFiles(InputPassportElementErrorSourceTranslationFiles),
File(InputPassportElementErrorSourceFile),
Files(InputPassportElementErrorSourceFiles),
}
Variants§
Unspecified(InputPassportElementErrorSourceUnspecified)
The element contains an error in an unspecified place. The error will be considered resolved when new data is added
DataField(InputPassportElementErrorSourceDataField)
A data field contains an error. The error is considered resolved when the field’s value 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
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
Trait Implementations§
Source§impl Clone for InputPassportElementErrorSource
impl Clone for InputPassportElementErrorSource
Source§fn clone(&self) -> InputPassportElementErrorSource
fn clone(&self) -> InputPassportElementErrorSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'de> Deserialize<'de> for InputPassportElementErrorSource
impl<'de> Deserialize<'de> for InputPassportElementErrorSource
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 InputPassportElementErrorSource
impl PartialEq for InputPassportElementErrorSource
Source§fn eq(&self, other: &InputPassportElementErrorSource) -> bool
fn eq(&self, other: &InputPassportElementErrorSource) -> bool
self
and other
values to be equal, and is used by ==
.