[][src]Enum google_maps::ElevationLocations

pub enum ElevationLocations {
    LatLngs(Vec<LatLng>),
    Polyline(String),
}

Defines the location(s) on the earth from which to return elevation data.

This parameter takes either a single location as a latitude/longitude pair, multiple latitude/longitude pairs, or an encoded polyline.

Variants

LatLngs(Vec<LatLng>)

A single or multiple latitude/longitude pairs.

Polyline(String)

Trait Implementations

impl Clone for Locations[src]

impl Debug for Locations[src]

impl Default for Locations[src]

fn default() -> Self[src]

Returns a reasonable default variant for the Locations enum type.

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

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

fn from(locations: &Locations) -> String[src]

Converts a Locations enum to a String that contains locations.

impl PartialEq<Locations> for Locations[src]

impl PartialOrd<Locations> for Locations[src]

impl Serialize for Locations[src]

impl StructuralPartialEq for Locations[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>,