Struct google_people1::Name [−][src]
pub struct Name { pub phonetic_middle_name: Option<String>, pub phonetic_given_name: Option<String>, pub honorific_prefix: Option<String>, pub phonetic_family_name: Option<String>, pub display_name: Option<String>, pub middle_name: Option<String>, pub phonetic_honorific_prefix: Option<String>, pub family_name: Option<String>, pub phonetic_full_name: Option<String>, pub display_name_last_first: Option<String>, pub phonetic_honorific_suffix: Option<String>, pub given_name: Option<String>, pub honorific_suffix: Option<String>, pub metadata: Option<FieldMetadata>, }
A person's name. If the name is a mononym, the family name is empty.
This type is not used in any activity, and only used as part of another schema.
Fields
phonetic_middle_name: Option<String>
The middle name(s) spelled as they sound.
phonetic_given_name: Option<String>
The given name spelled as it sounds.
honorific_prefix: Option<String>
The honorific prefixes, such as Mrs.
or Dr.
phonetic_family_name: Option<String>
The family name spelled as it sounds.
display_name: Option<String>
The read-only display name formatted according to the locale specified by
the viewer's account or the Accept-Language
HTTP header.
middle_name: Option<String>
The middle name(s).
phonetic_honorific_prefix: Option<String>
The honorific prefixes spelled as they sound.
family_name: Option<String>
The family name.
phonetic_full_name: Option<String>
The full name spelled as it sounds.
display_name_last_first: Option<String>
The read-only display name with the last name first formatted according to
the locale specified by the viewer's account or the
Accept-Language
HTTP header.
phonetic_honorific_suffix: Option<String>
The honorific suffixes spelled as they sound.
given_name: Option<String>
The given name.
honorific_suffix: Option<String>
The honorific suffixes, such as Jr.
metadata: Option<FieldMetadata>
Metadata about the name.
Trait Implementations
impl Default for Name
[src]
impl Default for Name
impl Clone for Name
[src]
impl Clone for Name
fn clone(&self) -> Name
[src]
fn clone(&self) -> Name
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Name
[src]
impl Debug for Name
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Name
[src]
impl Part for Name