Struct dgc::DgcName [−][src]
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: String
The surname(s) of the person, transliterated ICAO 9303
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for DgcName
impl UnwindSafe for DgcName
Blanket Implementations
Mutably borrows from an owned value. Read more