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
canonical_form: Option<String>
The read-only canonicalized ITU-T E.164 form of the phone number.
metadata: Option<FieldMetadata>
Metadata about the phone number.
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.
formatted_type: Option<String>
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]
impl Default for PhoneNumber
fn default() -> PhoneNumber
[src]
fn default() -> PhoneNumber
Returns the "default value" for a type. Read more
impl Clone for PhoneNumber
[src]
impl Clone for PhoneNumber
fn clone(&self) -> PhoneNumber
[src]
fn clone(&self) -> PhoneNumber
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 PhoneNumber
[src]
impl Debug for PhoneNumber
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 PhoneNumber
[src]
impl Part for PhoneNumber
Auto Trait Implementations
impl Send for PhoneNumber
impl Send for PhoneNumber
impl Sync for PhoneNumber
impl Sync for PhoneNumber