pub struct CipherPassportModel {Show 13 fields
pub surname: Option<String>,
pub given_name: Option<String>,
pub date_of_birth: Option<String>,
pub sex: Option<String>,
pub birth_place: Option<String>,
pub nationality: Option<String>,
pub passport_number: Option<String>,
pub passport_type: Option<String>,
pub issuing_country: Option<String>,
pub issuing_authority: Option<String>,
pub issue_date: Option<String>,
pub expiration_date: Option<String>,
pub national_identification_number: Option<String>,
}Fields§
§surname: Option<String>§given_name: Option<String>§date_of_birth: Option<String>§sex: Option<String>§birth_place: Option<String>§nationality: Option<String>§passport_number: Option<String>§passport_type: Option<String>§issuing_country: Option<String>§issue_date: Option<String>§expiration_date: Option<String>§national_identification_number: Option<String>Implementations§
Source§impl CipherPassportModel
impl CipherPassportModel
pub fn new() -> CipherPassportModel
Trait Implementations§
Source§impl Clone for CipherPassportModel
impl Clone for CipherPassportModel
Source§fn clone(&self) -> CipherPassportModel
fn clone(&self) -> CipherPassportModel
Returns a duplicate 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 CipherPassportModel
impl Debug for CipherPassportModel
Source§impl Default for CipherPassportModel
impl Default for CipherPassportModel
Source§fn default() -> CipherPassportModel
fn default() -> CipherPassportModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CipherPassportModel
impl<'de> Deserialize<'de> for CipherPassportModel
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 PartialEq for CipherPassportModel
impl PartialEq for CipherPassportModel
Source§impl Serialize for CipherPassportModel
impl Serialize for CipherPassportModel
impl StructuralPartialEq for CipherPassportModel
Auto Trait Implementations§
impl Freeze for CipherPassportModel
impl RefUnwindSafe for CipherPassportModel
impl Send for CipherPassportModel
impl Sync for CipherPassportModel
impl Unpin for CipherPassportModel
impl UnsafeUnpin for CipherPassportModel
impl UnwindSafe for CipherPassportModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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