[−][src]Struct google_partners2::Location
A location with address and geographic coordinates. May optionally contain a detailed (multi-field) version of the address.
This type is not used in any activity, and only used as part of another schema.
Fields
language_code: Option<String>
Language code of the address. Should be in BCP 47 format.
address_line: Option<Vec<String>>
The following address lines represent the most specific part of any address.
locality: Option<String>
Generally refers to the city/town portion of an address.
sorting_code: Option<String>
Use of this code is very country-specific, but will refer to a secondary classification code for sorting mail.
lat_lng: Option<LatLng>
The latitude and longitude of the location, in degrees.
dependent_locality: Option<String>
Dependent locality or sublocality. Used for UK dependent localities, or neighborhoods or boroughs in other locations.
region_code: Option<String>
CLDR (Common Locale Data Repository) region code .
administrative_area: Option<String>
Top-level administrative subdivision of this country.
address: Option<String>
The single string version of the address.
postal_code: Option<String>
Values are frequently alphanumeric.
Trait Implementations
impl Part for Location
[src]
impl Default for Location
[src]
impl Clone for Location
[src]
fn clone(&self) -> Location
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Location
[src]
impl Serialize for Location
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Location
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Location
impl Unpin for Location
impl Sync for Location
impl UnwindSafe for Location
impl RefUnwindSafe for Location
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,