pub struct EncryptedPassportElementPassportRegistration {
pub files: Vec<PassportFile, Global>,
pub translation: Option<Vec<PassportFile, Global>>,
}
Fields§
§files: Vec<PassportFile, Global>
Array of encrypted files with documents provided by the user,
available for utility_bill
, bank_statement
, rental_agreement
,
passport_registration
and temporary_registration
types. Files
can be decrypted and verified using the accompanying
EncryptedCredentials
.
translation: Option<Vec<PassportFile, Global>>
Array of encrypted files with translated versions of documents
provided by the user. Available if requested for passport
,
driver_license
, identity_card
, internal_passport
,
utility_bill
, bank_statement
, rental_agreement
,
passport_registration
and temporary_registration
types. Files
can be decrypted and verified using the accompanying
EncryptedCredentials
.
Trait Implementations§
source§impl Clone for EncryptedPassportElementPassportRegistration
impl Clone for EncryptedPassportElementPassportRegistration
source§fn clone(&self) -> EncryptedPassportElementPassportRegistration
fn clone(&self) -> EncryptedPassportElementPassportRegistration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for EncryptedPassportElementPassportRegistration
impl<'de> Deserialize<'de> for EncryptedPassportElementPassportRegistration
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EncryptedPassportElementPassportRegistration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EncryptedPassportElementPassportRegistration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<EncryptedPassportElementPassportRegistration> for EncryptedPassportElementPassportRegistration
impl PartialEq<EncryptedPassportElementPassportRegistration> for EncryptedPassportElementPassportRegistration
source§fn eq(&self, other: &EncryptedPassportElementPassportRegistration) -> bool
fn eq(&self, other: &EncryptedPassportElementPassportRegistration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EncryptedPassportElementPassportRegistration
impl Serialize for EncryptedPassportElementPassportRegistration
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for EncryptedPassportElementPassportRegistration
impl StructuralEq for EncryptedPassportElementPassportRegistration
impl StructuralPartialEq for EncryptedPassportElementPassportRegistration
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedPassportElementPassportRegistration
impl Send for EncryptedPassportElementPassportRegistration
impl Sync for EncryptedPassportElementPassportRegistration
impl Unpin for EncryptedPassportElementPassportRegistration
impl UnwindSafe for EncryptedPassportElementPassportRegistration
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.