From b7e0a1c7d1849b6f30e3793b6527248fcfafe721 Mon Sep 17 00:00:00 2001 From: Mr-Andersen Date: Sat, 21 Sep 2019 11:52:59 +0300 Subject: [PATCH] In EncryptedMessageElementKind::translation: Vec<_> -> Option> --- src/types/encrypted_passport_element.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/types/encrypted_passport_element.rs b/src/types/encrypted_passport_element.rs index dbb3a6de..61b1fa47 100644 --- a/src/types/encrypted_passport_element.rs +++ b/src/types/encrypted_passport_element.rs @@ -17,50 +17,50 @@ pub enum EncryptedPassportElementKind { data: String, front_side: PassportFile, selfie: PassportFile, - translation: Vec + translation: Option> }, DriverLicense { data: String, front_side: PassportFile, reverse_side: PassportFile, selfie: PassportFile, - translation: Vec + translation: Option> }, IdentityCard { data: String, front_side: PassportFile, reverse_side: PassportFile, selfie: PassportFile, - translation: Vec + translation: Option> }, InternalPassport { data: String, front_side: PassportFile, selfie: PassportFile, - translation: Vec + translation: Option> }, Address { data: String }, UtilityBill { files: Vec, - translation: Vec + translation: Option> }, BankStatement { files: Vec, - translation: Vec + translation: Option> }, RentalAgreement { files: Vec, - translation: Vec + translation: Option> }, PassportRegistration { files: Vec, - translation: Vec + translation: Option> }, TemporaryRegistration { files: Vec, - translation: Vec + translation: Option> }, PhoneNumber { phone_number: String }, Email { email: String }