pub enum EncryptedPassportElementDetails {
Show 13 variants
PersonalDetails {
data: String,
},
Passport {
data: String,
front_side: Option<PassportFile>,
selfie: PassportFile,
translation: Vec<PassportFile>,
},
DriverLicense {
data: String,
front_side: Option<PassportFile>,
selfie: PassportFile,
translation: Vec<PassportFile>,
},
IdentityCard {
data: String,
front_side: Option<PassportFile>,
selfie: PassportFile,
translation: Vec<PassportFile>,
},
InternalPassport {
data: String,
front_side: Option<PassportFile>,
selfie: PassportFile,
translation: Vec<PassportFile>,
},
Address {
data: String,
},
UtilityBill {
files: Vec<PassportFile>,
translation: Vec<PassportFile>,
},
BankStatement {
files: Vec<PassportFile>,
translation: Vec<PassportFile>,
},
RentalAgreement {
files: Vec<PassportFile>,
translation: Vec<PassportFile>,
},
PassportRegistration {
files: Vec<PassportFile>,
translation: Vec<PassportFile>,
},
TemporaryRegistration {
files: Vec<PassportFile>,
translation: Vec<PassportFile>,
},
PhoneNumber {
phone_number: String,
},
Email {
email: String,
},
}Variants§
PersonalDetails
Passport
Fields
front_side: Option<PassportFile>Encrypted file with the front side of the document, provided by the user
selfie: PassportFileEncrypted file with the selfie of the user holding a document
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
DriverLicense
Fields
front_side: Option<PassportFile>Encrypted file with the front side of the document, provided by the user
selfie: PassportFileEncrypted file with the selfie of the user holding a document
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
IdentityCard
Fields
front_side: Option<PassportFile>Encrypted file with the front side of the document, provided by the user
selfie: PassportFileEncrypted file with the selfie of the user holding a document
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
InternalPassport
Fields
front_side: Option<PassportFile>Encrypted file with the front side of the document, provided by the user
selfie: PassportFileEncrypted file with the selfie of the user holding a document
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
Address
UtilityBill
Fields
files: Vec<PassportFile>Array of encrypted files with documents provided by the user
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
BankStatement
Fields
files: Vec<PassportFile>Array of encrypted files with documents provided by the user
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
RentalAgreement
Fields
files: Vec<PassportFile>Array of encrypted files with documents provided by the user
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
PassportRegistration
Fields
files: Vec<PassportFile>Array of encrypted files with documents provided by the user
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
TemporaryRegistration
Fields
files: Vec<PassportFile>Array of encrypted files with documents provided by the user
translation: Vec<PassportFile>Array of encrypted files with translated versions of documents provided by the user
PhoneNumber
Trait Implementations§
Source§impl Clone for EncryptedPassportElementDetails
impl Clone for EncryptedPassportElementDetails
Source§fn clone(&self) -> EncryptedPassportElementDetails
fn clone(&self) -> EncryptedPassportElementDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more