pub struct ContactAddress {
pub address_type: Option<String>,
pub street_address: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub postal_code: Option<String>,
pub country: Option<String>,
}Expand description
A physical address for a contact.
Fields§
§address_type: Option<String>Address type (e.g., “work”, “home”, “other”).
street_address: Option<String>Street address.
city: Option<String>City.
state: Option<String>State or province.
postal_code: Option<String>Postal code.
country: Option<String>Country.
Trait Implementations§
Source§impl Clone for ContactAddress
impl Clone for ContactAddress
Source§fn clone(&self) -> ContactAddress
fn clone(&self) -> ContactAddress
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 ContactAddress
impl Debug for ContactAddress
Source§impl<'de> Deserialize<'de> for ContactAddress
impl<'de> Deserialize<'de> for ContactAddress
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 ContactAddress
Source§impl PartialEq for ContactAddress
impl PartialEq for ContactAddress
Source§fn eq(&self, other: &ContactAddress) -> bool
fn eq(&self, other: &ContactAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContactAddress
impl Serialize for ContactAddress
impl StructuralPartialEq for ContactAddress
Auto Trait Implementations§
impl Freeze for ContactAddress
impl RefUnwindSafe for ContactAddress
impl Send for ContactAddress
impl Sync for ContactAddress
impl Unpin for ContactAddress
impl UnsafeUnpin for ContactAddress
impl UnwindSafe for ContactAddress
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