Struct gapi_grpc::google::maps::routes::v1::RouteLegStepTravelAdvisory[][src]

pub struct RouteLegStepTravelAdvisory {
    pub speed_reading_intervals: Vec<SpeedReadingInterval>,
}

Encapsulates the additional information that the user should be informed about, such as possible traffic zone restriction on a leg step.

Fields

speed_reading_intervals: Vec<SpeedReadingInterval>

Speed reading intervals detailing traffic density. Applicable in case of TRAFFIC_AWARE and TRAFFIC_AWARE_OPTIMAL routing preferences. The intervals cover the entire polyline of the RouteLegStep without overlap. The start point of a specified interval is the same as the end point of the preceding interval.

Example:

polyline: A ---- B ---- C ---- D ---- E ---- F ---- G
speed_reading_intervals: [A,C), [C,D), [D,G).

Trait Implementations

impl Clone for RouteLegStepTravelAdvisory[src]

impl Debug for RouteLegStepTravelAdvisory[src]

impl Default for RouteLegStepTravelAdvisory[src]

impl Message for RouteLegStepTravelAdvisory[src]

impl PartialEq<RouteLegStepTravelAdvisory> for RouteLegStepTravelAdvisory[src]

impl StructuralPartialEq for RouteLegStepTravelAdvisory[src]

Auto Trait Implementations

impl RefUnwindSafe for RouteLegStepTravelAdvisory

impl Send for RouteLegStepTravelAdvisory

impl Sync for RouteLegStepTravelAdvisory

impl Unpin for RouteLegStepTravelAdvisory

impl UnwindSafe for RouteLegStepTravelAdvisory

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]