pub struct BasicPersonRequestEmailInner {
pub value: Option<String>,
pub primary: Option<bool>,
pub label: Option<String>,
}
Fields§
§value: Option<String>
The email
primary: Option<bool>
Boolean that indicates if email is primary for the person or not
label: Option<String>
The label that indicates the type of the email. (Possible values - work, home or other)
Implementations§
Source§impl BasicPersonRequestEmailInner
impl BasicPersonRequestEmailInner
pub fn new() -> BasicPersonRequestEmailInner
Trait Implementations§
Source§impl Clone for BasicPersonRequestEmailInner
impl Clone for BasicPersonRequestEmailInner
Source§fn clone(&self) -> BasicPersonRequestEmailInner
fn clone(&self) -> BasicPersonRequestEmailInner
Returns a duplicate 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 BasicPersonRequestEmailInner
impl Debug for BasicPersonRequestEmailInner
Source§impl<'de> Deserialize<'de> for BasicPersonRequestEmailInner
impl<'de> Deserialize<'de> for BasicPersonRequestEmailInner
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 PartialEq for BasicPersonRequestEmailInner
impl PartialEq for BasicPersonRequestEmailInner
Source§fn eq(&self, other: &BasicPersonRequestEmailInner) -> bool
fn eq(&self, other: &BasicPersonRequestEmailInner) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BasicPersonRequestEmailInner
Auto Trait Implementations§
impl Freeze for BasicPersonRequestEmailInner
impl RefUnwindSafe for BasicPersonRequestEmailInner
impl Send for BasicPersonRequestEmailInner
impl Sync for BasicPersonRequestEmailInner
impl Unpin for BasicPersonRequestEmailInner
impl UnwindSafe for BasicPersonRequestEmailInner
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