Struct google_partners2::Location
[−]
[src]
pub struct Location { pub language_code: Option<String>, pub address_line: Option<Vec<String>>, pub locality: Option<String>, pub sorting_code: Option<String>, pub lat_lng: Option<LatLng>, pub dependent_locality: Option<String>, pub region_code: Option<String>, pub administrative_area: Option<String>, pub address: Option<String>, pub postal_code: Option<String>, }
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 Default for Location
[src]
impl Clone for Location
[src]
fn clone(&self) -> Location
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more