Struct telers::types::encrypted_passport_element::BankStatement
source · pub struct BankStatement {
pub files: Box<[PassportFile]>,
pub translation: Option<Box<[PassportFile]>>,
pub hash: Box<str>,
}
Fields§
§files: Box<[PassportFile]>
Array of encrypted files with documents provided by the user. Files can be decrypted and verified using the accompanying EncryptedCredentials
.
translation: Option<Box<[PassportFile]>>
Array of encrypted files with translated versions of documents provided by the user. Files can be decrypted and verified using the accompanying EncryptedCredentials
.
hash: Box<str>
Base64-encoded element hash for using in PassportElementErrorUnspecified
Trait Implementations§
source§impl Clone for BankStatement
impl Clone for BankStatement
source§fn clone(&self) -> BankStatement
fn clone(&self) -> BankStatement
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 Debug for BankStatement
impl Debug for BankStatement
source§impl<'de> Deserialize<'de> for BankStatement
impl<'de> Deserialize<'de> for BankStatement
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for BankStatement
impl Hash for BankStatement
source§impl PartialEq for BankStatement
impl PartialEq for BankStatement
source§fn eq(&self, other: &BankStatement) -> bool
fn eq(&self, other: &BankStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BankStatement
impl StructuralPartialEq for BankStatement
Auto Trait Implementations§
impl Freeze for BankStatement
impl RefUnwindSafe for BankStatement
impl Send for BankStatement
impl Sync for BankStatement
impl Unpin for BankStatement
impl UnwindSafe for BankStatement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.