[−][src]Struct mrtd::Passport
Passport
Fields
country: String
Country (ISO 3166-1 code)
surnames: Vec<String>
Surname
given_names: Vec<String>
Given names
passport_number: String
Passport number
nationality: String
Nationality (ISO 3166-1 code)
birth_date: NaiveDate
Date of birth
gender: Gender
Gender
expiry_date: NaiveDate
Date of expiry
Trait Implementations
impl Clone for Passport
[src]
impl Debug for Passport
[src]
impl PartialEq<Passport> for Passport
[src]
impl StructuralPartialEq for Passport
[src]
Auto Trait Implementations
impl RefUnwindSafe for Passport
impl Send for Passport
impl Sync for Passport
impl Unpin for Passport
impl UnwindSafe for Passport
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,