pub struct ContactEmail {
pub email_type: Option<String>,
pub email: String,
}Expand description
An email address for a contact.
Fields§
§email_type: Option<String>Email address type (e.g., “work”, “home”, “other”).
email: StringThe email address.
Trait Implementations§
Source§impl Clone for ContactEmail
impl Clone for ContactEmail
Source§fn clone(&self) -> ContactEmail
fn clone(&self) -> ContactEmail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContactEmail
impl Debug for ContactEmail
Source§impl<'de> Deserialize<'de> for ContactEmail
impl<'de> Deserialize<'de> for ContactEmail
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
impl Eq for ContactEmail
Source§impl PartialEq for ContactEmail
impl PartialEq for ContactEmail
Source§fn eq(&self, other: &ContactEmail) -> bool
fn eq(&self, other: &ContactEmail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContactEmail
impl Serialize for ContactEmail
impl StructuralPartialEq for ContactEmail
Auto Trait Implementations§
impl Freeze for ContactEmail
impl RefUnwindSafe for ContactEmail
impl Send for ContactEmail
impl Sync for ContactEmail
impl Unpin for ContactEmail
impl UnsafeUnpin for ContactEmail
impl UnwindSafe for ContactEmail
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