Struct google_spectrum1_explorer::api::VcardAddress
source · pub struct VcardAddress {
pub code: Option<String>,
pub country: Option<String>,
pub locality: Option<String>,
pub pobox: Option<String>,
pub region: Option<String>,
pub street: Option<String>,
}
Expand description
The structure used to represent a street address.
This type is not used in any activity, and only used as part of another schema.
Fields§
§code: Option<String>
The postal code associated with the address. For example: 94423.
country: Option<String>
The country name. For example: US.
locality: Option<String>
The city or local equivalent portion of the address. For example: San Jose.
pobox: Option<String>
An optional post office box number.
region: Option<String>
The state or local equivalent portion of the address. For example: CA.
street: Option<String>
The street number and name. For example: 123 Any St.
Trait Implementations§
source§impl Clone for VcardAddress
impl Clone for VcardAddress
source§fn clone(&self) -> VcardAddress
fn clone(&self) -> VcardAddress
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 VcardAddress
impl Debug for VcardAddress
source§impl Default for VcardAddress
impl Default for VcardAddress
source§fn default() -> VcardAddress
fn default() -> VcardAddress
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VcardAddress
impl<'de> Deserialize<'de> for VcardAddress
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 VcardAddress
impl Serialize for VcardAddress
impl Part for VcardAddress
Auto Trait Implementations§
impl RefUnwindSafe for VcardAddress
impl Send for VcardAddress
impl Sync for VcardAddress
impl Unpin for VcardAddress
impl UnwindSafe for VcardAddress
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