Struct google_people1::PhoneNumber[][src]

pub struct PhoneNumber {
    pub canonical_form: Option<String>,
    pub metadata: Option<FieldMetadata>,
    pub type_: Option<String>,
    pub value: Option<String>,
    pub formatted_type: Option<String>,
}

A person's phone number.

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

Fields

The read-only canonicalized ITU-T E.164 form of the phone number.

Metadata about the phone number.

The type of the phone number. The type can be custom or one of these predefined values:

  • home
  • work
  • mobile
  • homeFax
  • workFax
  • otherFax
  • pager
  • workMobile
  • workPager
  • main
  • googleVoice
  • other

The phone number.

The read-only type of the phone number translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

Trait Implementations

impl Default for PhoneNumber
[src]

Returns the "default value" for a type. Read more

impl Clone for PhoneNumber
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PhoneNumber
[src]

Formats the value using the given formatter. Read more

impl Part for PhoneNumber
[src]

Auto Trait Implementations

impl Send for PhoneNumber

impl Sync for PhoneNumber