Struct google_people1::EmailAddress
[−]
[src]
pub struct EmailAddress { pub formatted_type: Option<String>, pub type_: Option<String>, pub display_name: Option<String>, pub value: Option<String>, pub metadata: Option<FieldMetadata>, }
A person's email address.
This type is not used in any activity, and only used as part of another schema.
Fields
formatted_type: Option<String>
The read-only type of the email address translated and formatted in the
viewer's account locale or the Accept-Language
HTTP header locale.
type_: Option<String>
The type of the email address. The type can be custom or predefined. Possible values include, but are not limited to, the following:
home
work
other
display_name: Option<String>
The display name of the email.
value: Option<String>
The email address.
metadata: Option<FieldMetadata>
Metadata about the email address.
Trait Implementations
impl Default for EmailAddress
[src]
fn default() -> EmailAddress
[src]
Returns the "default value" for a type. Read more
impl Clone for EmailAddress
[src]
fn clone(&self) -> EmailAddress
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more