Struct google_content2::api::Address
source · pub struct Address {
pub administrative_area: Option<String>,
pub city: Option<String>,
pub country: Option<String>,
pub postal_code: Option<String>,
pub street_address: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§administrative_area: Option<String>
Required. Top-level administrative subdivision of the country. For example, a state like California (“CA”) or a province like Quebec (“QC”).
city: Option<String>
Required. City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
country: Option<String>
Required. CLDR country code(e.g. “US”).
postal_code: Option<String>
Required. Postal code or ZIP (e.g. “94043”). Required.
street_address: Option<String>
Street-level part of the address.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Address
impl<'de> Deserialize<'de> for Address
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 Part for Address
Auto Trait Implementations§
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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