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

Indicates a precise street address.

Indicates a named route (such as "US 101").

Indicates a major intersection, usually of two major roads.

Indicates a political entity. Usually, this type indicates a polygon of some civil administration.

Indicates the national political entity, and is typically the highest order type returned by the Geocoder.

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.

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.

Indicates a third-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels.

Indicates a fourth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels.

Indicates a fifth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels.

Indicates a commonly-used alternative name for the entity.

Indicates an incorporated city or town political entity.

Indicates a specific type of Japanese locality, to facilitate distinction between multiple locality components within a Japanese address.

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.

Indicates a named neighborhood

Indicates a named location, usually a building or collection of buildings with a common name

Indicates a first-order entity below a named location, usually a singular building within a collection of buildings with a common name

Indicates a postal code as used to address postal mail within the country.

Indicates a prominent natural feature.

Indicates an airport.

Indicates a named park.

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."

Indicates the floor of a building address.

Typically indicates a place that has not yet been categorized.

Indicates a parking lot or parking structure.

Indicates a specific postal box.

Indicates a grouping of geographic areas, such as locality and sublocality, used for mailing addresses in some countries.

Indicates the room of a building address.

Indicates the precise street number.

Indicate the location of a bus stop.

Indicate the location of a train station.

Indicate the location of a public transit station.

Trait Implementations

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Type
[src]

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

impl Eq for Type
[src]

impl Hash for Type
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Type
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Type

impl Sync for Type