In EncryptedMessageElementKind::translation: Vec<_> -> Option<Vec<_>>

This commit is contained in:
Mr-Andersen 2019-09-21 11:52:59 +03:00
parent fc68705d71
commit b7e0a1c7d1

View file

@ -17,50 +17,50 @@ pub enum EncryptedPassportElementKind {
data: String, data: String,
front_side: PassportFile, front_side: PassportFile,
selfie: PassportFile, selfie: PassportFile,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
DriverLicense { DriverLicense {
data: String, data: String,
front_side: PassportFile, front_side: PassportFile,
reverse_side: PassportFile, reverse_side: PassportFile,
selfie: PassportFile, selfie: PassportFile,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
IdentityCard { IdentityCard {
data: String, data: String,
front_side: PassportFile, front_side: PassportFile,
reverse_side: PassportFile, reverse_side: PassportFile,
selfie: PassportFile, selfie: PassportFile,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
InternalPassport { InternalPassport {
data: String, data: String,
front_side: PassportFile, front_side: PassportFile,
selfie: PassportFile, selfie: PassportFile,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
Address { Address {
data: String data: String
}, },
UtilityBill { UtilityBill {
files: Vec<PassportFile>, files: Vec<PassportFile>,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
BankStatement { BankStatement {
files: Vec<PassportFile>, files: Vec<PassportFile>,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
RentalAgreement { RentalAgreement {
files: Vec<PassportFile>, files: Vec<PassportFile>,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
PassportRegistration { PassportRegistration {
files: Vec<PassportFile>, files: Vec<PassportFile>,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
TemporaryRegistration { TemporaryRegistration {
files: Vec<PassportFile>, files: Vec<PassportFile>,
translation: Vec<PassportFile> translation: Option<Vec<PassportFile>>
}, },
PhoneNumber { phone_number: String }, PhoneNumber { phone_number: String },
Email { email: String } Email { email: String }