Struct google_people1::api::EmailAddress
source · pub struct EmailAddress {
pub display_name: Option<String>,
pub formatted_type: Option<String>,
pub metadata: Option<FieldMetadata>,
pub type_: Option<String>,
pub value: Option<String>,
}
Expand description
A person’s email address.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>
The display name of the email.
formatted_type: Option<String>
Output only. The type of the email address translated and formatted in the viewer’s account locale or the Accept-Language
HTTP header locale.
metadata: Option<FieldMetadata>
Metadata about the email address.
type_: Option<String>
The type of the email address. The type can be custom or one of these predefined values: * home
* work
* other
value: Option<String>
The email address.
Trait Implementations§
source§impl Clone for EmailAddress
impl Clone for EmailAddress
source§fn clone(&self) -> EmailAddress
fn clone(&self) -> EmailAddress
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EmailAddress
impl Debug for EmailAddress
source§impl Default for EmailAddress
impl Default for EmailAddress
source§fn default() -> EmailAddress
fn default() -> EmailAddress
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EmailAddress
impl<'de> Deserialize<'de> for EmailAddress
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for EmailAddress
impl Serialize for EmailAddress
impl Part for EmailAddress
Auto Trait Implementations§
impl RefUnwindSafe for EmailAddress
impl Send for EmailAddress
impl Sync for EmailAddress
impl Unpin for EmailAddress
impl UnwindSafe for EmailAddress
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more