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 one of these predefined values:
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]
impl Default for EmailAddress
fn default() -> EmailAddress
[src]
fn default() -> EmailAddress
Returns the "default value" for a type. Read more
impl Clone for EmailAddress
[src]
impl Clone for EmailAddress
fn clone(&self) -> EmailAddress
[src]
fn clone(&self) -> EmailAddress
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for EmailAddress
[src]
impl Debug for EmailAddress
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 EmailAddress
[src]
impl Part for EmailAddress
Auto Trait Implementations
impl Send for EmailAddress
impl Send for EmailAddress
impl Sync for EmailAddress
impl Sync for EmailAddress