[][src]Enum google_maps::geocoding::location_type::LocationType

pub enum LocationType {
    Approximate,
    GeometricCenter,
    RangeInterpolated,
    RoofTop,
}

Stores additional data about the specified location.

Variants

Approximate

Indicates that the returned result is approximate.

GeometricCenter

Indicates that the returned result is the geometric center of a result such as a polyline (for example, a street) or polygon (region).

RangeInterpolated

Indicates that the returned result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable for a street address.

RoofTop

Indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision.

Trait Implementations

impl Clone for LocationType[src]

impl Debug for LocationType[src]

impl<'de> Deserialize<'de> for LocationType[src]

impl<'_> From<&'_ LocationType> for String[src]

fn from(location_type: &LocationType) -> String[src]

Converts a LocationType enum to a String that contains a location type code.

impl From<String> for LocationType[src]

fn from(location_type: String) -> LocationType[src]

Gets a LocationType enum from a String that contains a supported location type code.

impl Serialize for LocationType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,