pub struct PersonNameComponents {
pub family_name: Option<String>,
pub given_name: Option<String>,
pub middle_name: Option<String>,
pub name_prefix: Option<String>,
pub name_suffix: Option<String>,
pub nickname: Option<String>,
pub phonetic_representation: Box<Option<PhoneticRepresentation>>,
}Expand description
The passenger’s name.
An object that manages the separate parts of a person’s name
Fields§
§family_name: Option<String>Name bestowed upon an individual to denote membership in a group or family.
given_name: Option<String>Name bestowed upon an individual to differentiate them from other members of a group that share a family name.
middle_name: Option<String>Secondary name bestowed upon an individual to differentiate them from others that have the same given name.
name_prefix: Option<String>The portion of a name’s full form of address that precedes the name itself.
name_suffix: Option<String>The portion of a name’s full form of address that follows the name itself.
nickname: Option<String>Name substituted for the purposes of familiarity.
phonetic_representation: Box<Option<PhoneticRepresentation>>The phonetic representation name components of the receiver.
Implementations§
Trait Implementations§
Source§impl Clone for PersonNameComponents
impl Clone for PersonNameComponents
Source§fn clone(&self) -> PersonNameComponents
fn clone(&self) -> PersonNameComponents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PersonNameComponents
impl Debug for PersonNameComponents
Source§impl Default for PersonNameComponents
impl Default for PersonNameComponents
Source§impl<'de> Deserialize<'de> for PersonNameComponents
impl<'de> Deserialize<'de> for PersonNameComponents
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
Auto Trait Implementations§
impl Freeze for PersonNameComponents
impl RefUnwindSafe for PersonNameComponents
impl Send for PersonNameComponents
impl Sync for PersonNameComponents
impl Unpin for PersonNameComponents
impl UnsafeUnpin for PersonNameComponents
impl UnwindSafe for PersonNameComponents
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