[][src]Struct google_people1::PhoneNumber

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

A person's phone number.

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

Fields

canonical_form: Option<String>

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

formatted_type: Option<String>

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

type_: Option<String>

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
value: Option<String>

The phone number.

metadata: Option<FieldMetadata>

Metadata about the phone number.

Trait Implementations

impl Clone for PhoneNumber[src]

impl Debug for PhoneNumber[src]

impl Default for PhoneNumber[src]

impl<'de> Deserialize<'de> for PhoneNumber[src]

impl Part for PhoneNumber[src]

impl Serialize for PhoneNumber[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any