[][src]Struct google_maps::directions::response::geocoded_waypoint::GeocodedWaypoint

pub struct GeocodedWaypoint {
    pub geocoder_status: Option<GeocoderStatus>,
    pub partial_match: Option<bool>,
    pub place_id: Option<String>,
    pub types: Option<Vec<PlaceType>>,
}

Fields

geocoder_status: Option<GeocoderStatus>

Indicates the status code resulting from the geocoding operation.

partial_match: Option<bool>

Whether the geocoder did not return an exact match for the original waypoint, though it was able to match part of the requested address.

place_id: Option<String>

The place ID associated with the waypoint. Place IDs uniquely identify a place in the Google Places database and on Google Maps. Learn more about Place IDs in the Places API developer guide.

types: Option<Vec<PlaceType>>

An array of strings denoting the type of the returned geocoded element. For a list of possible strings, refer to the Address Component Types section of the Developer's Guide.

Trait Implementations

impl Clone for GeocodedWaypoint[src]

impl Debug for GeocodedWaypoint[src]

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

impl Eq for GeocodedWaypoint[src]

impl Hash for GeocodedWaypoint[src]

impl Ord for GeocodedWaypoint[src]

impl PartialEq<GeocodedWaypoint> for GeocodedWaypoint[src]

impl PartialOrd<GeocodedWaypoint> for GeocodedWaypoint[src]

impl Serialize for GeocodedWaypoint[src]

impl StructuralEq for GeocodedWaypoint[src]

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