[][src]Enum google_geocode::LocationType

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

What location Geometry refers to

Variants

Rooftop

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

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.

GeometricCenter

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

Approximate

Indicates that the returned result is approximate.

Trait Implementations

impl Clone for LocationType[src]

impl Copy for LocationType[src]

impl Debug for LocationType[src]

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

impl Eq for LocationType[src]

impl Hash for LocationType[src]

impl PartialEq<LocationType> for LocationType[src]

impl Serialize for LocationType[src]

impl StructuralEq for LocationType[src]

impl StructuralPartialEq 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: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.