Enum google_geocoding::Type [−][src]
pub enum Type { StreetAddress, Route, Intersection, Political, Country, AdministrativeAreaLevel1, AdministrativeAreaLevel2, AdministrativeAreaLevel3, AdministrativeAreaLevel4, AdministrativeAreaLevel5, ColloquialArea, Locality, Ward, Sublocality, Neighborhood, Premise, Subpremise, PostalCode, NaturalFeature, Airport, Park, PointOfInterest, Floor, Establishment, Parking, PostBox, PostalTown, Room, StreetNumber, BusStation, TrainStation, TransitStation, }
The type of an address (eg street, intersection, etc)
Variants
StreetAddress
Indicates a precise street address.
Route
Indicates a named route (such as "US 101").
Intersection
Indicates a major intersection, usually of two major roads.
Political
Indicates a political entity. Usually, this type indicates a polygon of some civil administration.
Country
Indicates the national political entity, and is typically the highest order type returned by the Geocoder.
AdministrativeAreaLevel1
Indicates a first-order civil entity below the country level. Within the United States, these administrative levels are states. Not all nations exhibit these administrative levels. In most cases, administrative_area_level_1 short names will closely match ISO 3166-2 subdivisions and other widely circulated lists; however this is not guaranteed as our geocoding results are based on a variety of signals and location data.
AdministrativeAreaLevel2
Indicates a second-order civil entity below the country level. Within the United States, these administrative levels are counties. Not all nations exhibit these administrative levels.
AdministrativeAreaLevel3
Indicates a third-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels.
AdministrativeAreaLevel4
Indicates a fourth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels.
AdministrativeAreaLevel5
Indicates a fifth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels.
ColloquialArea
Indicates a commonly-used alternative name for the entity.
Locality
Indicates an incorporated city or town political entity.
Ward
Indicates a specific type of Japanese locality, to facilitate distinction between multiple locality components within a Japanese address.
Sublocality
Indicates a first-order civil entity below a locality. For some locations may receive one of the additional types: sublocality_level_1 to sublocality_level_5. Each sublocality level is a civil entity. Larger numbers indicate a smaller geographic area.
Neighborhood
Indicates a named neighborhood
Premise
Indicates a named location, usually a building or collection of buildings with a common name
Subpremise
Indicates a first-order entity below a named location, usually a singular building within a collection of buildings with a common name
PostalCode
Indicates a postal code as used to address postal mail within the country.
NaturalFeature
Indicates a prominent natural feature.
Airport
Indicates an airport.
Park
Indicates a named park.
PointOfInterest
Indicates a named point of interest. Typically, these "POI"s are prominent local entities that don't easily fit in another category, such as "Empire State Building" or "Statue of Liberty."
Floor
Indicates the floor of a building address.
Establishment
Typically indicates a place that has not yet been categorized.
Parking
Indicates a parking lot or parking structure.
PostBox
Indicates a specific postal box.
PostalTown
Indicates a grouping of geographic areas, such as locality and sublocality, used for mailing addresses in some countries.
Room
Indicates the room of a building address.
StreetNumber
Indicates the precise street number.
BusStation
Indicate the location of a bus stop.
TrainStation
Indicate the location of a train station.
TransitStation
Indicate the location of a public transit station.
Trait Implementations
impl Clone for Type
[src]
impl Clone for Type
fn clone(&self) -> Type
[src]
fn clone(&self) -> Type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for Type
[src]
impl Copy for Type
impl Debug for Type
[src]
impl Debug for Type
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Type
[src]
impl Eq for Type
impl Hash for Type
[src]
impl Hash for Type
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Type
[src]
impl PartialEq for Type