Struct gapi_grpc::google::maps::roads::v1op::SnappedPoint[][src]

pub struct SnappedPoint {
    pub location: Option<LatLng>,
    pub original_index: Option<u32>,
    pub place_id: String,
}

A snapped point object, representing the result of snapping.

Fields

location: Option<LatLng>

The lat,lng of the snapped location.

original_index: Option<u32>

The index into the original path of the equivalent pre-snapped point. This allows for identification of points which have been interpolated if this index is missing.

place_id: String

The place ID for this snapped location (road segment). These are the same as are currently used by the Places API.

Trait Implementations

impl Clone for SnappedPoint[src]

impl Debug for SnappedPoint[src]

impl Default for SnappedPoint[src]

impl Message for SnappedPoint[src]

impl PartialEq<SnappedPoint> for SnappedPoint[src]

impl StructuralPartialEq for SnappedPoint[src]

Auto Trait Implementations

impl RefUnwindSafe for SnappedPoint

impl Send for SnappedPoint

impl Sync for SnappedPoint

impl Unpin for SnappedPoint

impl UnwindSafe for SnappedPoint

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> 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> IntoRequest<T> for 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>, 
[src]

impl<T> WithSubscriber for T[src]