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

pub struct RouteLegStep {
    pub distance_meters: i32,
    pub static_duration: Option<Duration>,
    pub polyline: Option<Polyline>,
    pub start_location: Option<Location>,
    pub end_location: Option<Location>,
    pub navigation_instruction: Option<NavigationInstruction>,
    pub travel_advisory: Option<RouteLegStepTravelAdvisory>,
}

Encapsulates a segment of a RouteLeg. A step corresponds to a single navigation instruction. Route legs are made up of steps.

Fields

distance_meters: i32

The travel distance of this step, in meters. In some circumstances, this field might not have a value.

static_duration: Option<Duration>

The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.

polyline: Option<Polyline>

The polyline associated with this step.

start_location: Option<Location>

The start location of this step.

end_location: Option<Location>

The end location of this step.

navigation_instruction: Option<NavigationInstruction>

Navigation instructions.

travel_advisory: Option<RouteLegStepTravelAdvisory>

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

Trait Implementations

impl Clone for RouteLegStep[src]

impl Debug for RouteLegStep[src]

impl Default for RouteLegStep[src]

impl Message for RouteLegStep[src]

impl PartialEq<RouteLegStep> for RouteLegStep[src]

impl StructuralPartialEq for RouteLegStep[src]

Auto Trait Implementations

impl RefUnwindSafe for RouteLegStep

impl Send for RouteLegStep

impl Sync for RouteLegStep

impl Unpin for RouteLegStep

impl UnwindSafe for RouteLegStep

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]