Enum googapis::google::maps::routes::v1::RoutingPreference [−][src]
#[repr(i32)]
pub enum RoutingPreference {
Unspecified,
TrafficUnaware,
TrafficAware,
TrafficAwareOptimal,
}
Expand description
A set of values that specify factors to take into consideration when calculating the route.
Variants
No routing preference specified. Default to TRAFFIC_AWARE
.
Computes routes without taking traffic conditions into consideration. Suitable when traffic conditions don’t matter. Using this value produces the lowest latency.
Calculates routes taking traffic conditions into consideration. In contrast
to TRAFFIC_AWARE_OPTIMAL
, some optimizations are applied to significantly
reduce latency.
Calculates the routes taking traffic conditions into consideration, without applying most performance optimizations. Using this value produces the highest latency.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RoutingPreference
impl Send for RoutingPreference
impl Sync for RoutingPreference
impl Unpin for RoutingPreference
impl UnwindSafe for RoutingPreference
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more