pub struct DgcName {
pub forename: Option<String>,
pub surname: Option<String>,
pub forename_standard: Option<String>,
pub surname_standard: String,
}Expand description
Contains all the info related to the subject name (forename, surname, etc.).
Fields§
§forename: Option<String>The forename(s) of the person addressed in the certificate
surname: Option<String>The surname or primary name(s) of the person addressed in the certificate
forename_standard: Option<String>The forename(s) of the person, transliterated ICAO 9303
surname_standard: StringThe surname(s) of the person, transliterated ICAO 9303
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DgcName
impl<'de> Deserialize<'de> for DgcName
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
impl StructuralPartialEq for DgcName
Auto Trait Implementations§
impl Freeze for DgcName
impl RefUnwindSafe for DgcName
impl Send for DgcName
impl Sync for DgcName
impl Unpin for DgcName
impl UnwindSafe for DgcName
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