Struct google_plus1::api::PersonEmails
source · pub struct PersonEmails {
pub type_: Option<String>,
pub value: Option<String>,
}
Expand description
A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address.
This type is not used in any activity, and only used as part of another schema.
Fields§
§type_: Option<String>
The type of address. Possible values include, but are not limited to, the following values:
- “account” - Google account email address.
- “home” - Home email address.
- “work” - Work email address.
- “other” - Other.
value: Option<String>
The email address.
Trait Implementations§
source§impl Clone for PersonEmails
impl Clone for PersonEmails
source§fn clone(&self) -> PersonEmails
fn clone(&self) -> PersonEmails
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 PersonEmails
impl Debug for PersonEmails
source§impl Default for PersonEmails
impl Default for PersonEmails
source§fn default() -> PersonEmails
fn default() -> PersonEmails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PersonEmails
impl<'de> Deserialize<'de> for PersonEmails
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 PersonEmails
impl Serialize for PersonEmails
impl NestedType for PersonEmails
impl Part for PersonEmails
Auto Trait Implementations§
impl RefUnwindSafe for PersonEmails
impl Send for PersonEmails
impl Sync for PersonEmails
impl Unpin for PersonEmails
impl UnwindSafe for PersonEmails
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