Struct google_plusdomains1::api::PersonName[][src]

pub struct PersonName {
    pub family_name: Option<String>,
    pub formatted: Option<String>,
    pub given_name: Option<String>,
    pub honorific_prefix: Option<String>,
    pub honorific_suffix: Option<String>,
    pub middle_name: Option<String>,
}
Expand description

An object representation of the individual components of a person’s name.

This type is not used in any activity, and only used as part of another schema.

Fields

family_name: Option<String>

The family name (last name) of this person.

formatted: Option<String>

The full name of this person, including middle names, suffixes, etc.

given_name: Option<String>

The given name (first name) of this person.

honorific_prefix: Option<String>

The honorific prefixes (such as “Dr.” or “Mrs.”) for this person.

honorific_suffix: Option<String>

The honorific suffixes (such as “Jr.”) for this person.

middle_name: Option<String>

The middle name of this person.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.