pub enum RoutingPreference {
RoutingPreferenceUnspecified,
TrafficUnaware,
TrafficAware,
TrafficAwareOptimal,
}Expand description
A set of values that specify factors to take into consideration when calculating the route. See https://developers.google.com/maps/documentation/routes/reference/rest/v2/RoutingPreference
Variants§
Trait Implementations§
Source§impl Clone for RoutingPreference
impl Clone for RoutingPreference
Source§fn clone(&self) -> RoutingPreference
fn clone(&self) -> RoutingPreference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoutingPreference
impl Debug for RoutingPreference
Source§impl<'de> Deserialize<'de> for RoutingPreference
impl<'de> Deserialize<'de> for RoutingPreference
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RoutingPreference
impl RefUnwindSafe for RoutingPreference
impl Send for RoutingPreference
impl Sync for RoutingPreference
impl Unpin for RoutingPreference
impl UnwindSafe for RoutingPreference
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more