[][src]Enum google_maps::Api

pub enum Api {
    All,
    Directions,
    DistanceMatrix,
    Elevation,
    Geocoding,
    TimeZone,
}

Api is used to select an API to configure. For example, the Google Maps Client can be set to have different request rates for Directions and Elevation requests. This enum is used to select which Google Maps API you would like to configure.

Variants

All

This variant is used to select settings that are observed for all APIs. These settings are observed in addition to the per-API settings.

Directions
DistanceMatrix
Elevation
Geocoding
TimeZone

Trait Implementations

impl Clone for Api[src]

impl Debug for Api[src]

impl Default for Api[src]

fn default() -> Self[src]

Returns a reasonable default variant for the Api enum.

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

impl Display for Api[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Formats an Api enum into a string that is presentable to the end user.

impl Eq for Api[src]

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

fn from(api: &Api) -> String[src]

Converts an Api enum to a String that contains an API name.

impl Hash for Api[src]

impl Ord for Api[src]

impl PartialEq<Api> for Api[src]

impl PartialOrd<Api> for Api[src]

impl Serialize for Api[src]

impl StructuralEq for Api[src]

impl StructuralPartialEq for Api[src]

Auto Trait Implementations

impl RefUnwindSafe for Api

impl Send for Api

impl Sync for Api

impl Unpin for Api

impl UnwindSafe for Api

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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> ToString for T where
    T: Display + ?Sized
[src]

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>,