[][src]Enum google_maps::directions::response::geocoder_status::GeocoderStatus

pub enum GeocoderStatus {
    Ok,
    ZeroResults,
}

Indicates the status code resulting from the geocoding operation.

Variants

Ok

Indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned.

ZeroResults

Indicates that the geocode was successful but returned no results. This may occur if the geocoder was passed a non-existent address.

Trait Implementations

impl Clone for GeocoderStatus[src]

impl Debug for GeocoderStatus[src]

impl Default for GeocoderStatus[src]

fn default() -> Self[src]

Returns a reasonable default variant for the GeocoderStatus enum type.

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

impl Display for GeocoderStatus[src]

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

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

impl Eq for GeocoderStatus[src]

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

fn from(geocoder_status: &GeocoderStatus) -> String[src]

Converts a GeocoderStatus enum to a String that contains a geocoder status code.

impl Hash for GeocoderStatus[src]

impl Ord for GeocoderStatus[src]

impl PartialEq<GeocoderStatus> for GeocoderStatus[src]

impl PartialOrd<GeocoderStatus> for GeocoderStatus[src]

impl Serialize for GeocoderStatus[src]

impl StructuralEq for GeocoderStatus[src]

impl StructuralPartialEq for GeocoderStatus[src]

impl TryFrom<String> for GeocoderStatus[src]

type Error = Error

The type returned in the event of a conversion error.

fn try_from(geocoder_status: String) -> Result<GeocoderStatus, Error>[src]

Gets a GeocoderStatus enum from a String that contains a valid geocoder status code.

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