pub enum DirectionsType {
None,
Maneuvers,
Instructions,
}Expand description
Type of the directions
Variants§
None
indicating no maneuvers or instructions should be returned.
Maneuvers
indicating that only maneuvers be returned.
Instructions
indicating that maneuvers with instructions should be returned (this is the default if not specified).
Trait Implementations§
Source§impl Clone for DirectionsType
impl Clone for DirectionsType
Source§fn clone(&self) -> DirectionsType
fn clone(&self) -> DirectionsType
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 DirectionsType
impl Debug for DirectionsType
Source§impl Default for DirectionsType
impl Default for DirectionsType
Source§fn default() -> DirectionsType
fn default() -> DirectionsType
Returns the “default value” for a type. Read more
Source§impl PartialEq for DirectionsType
impl PartialEq for DirectionsType
Source§impl Serialize for DirectionsType
impl Serialize for DirectionsType
impl Copy for DirectionsType
impl Eq for DirectionsType
impl StructuralPartialEq for DirectionsType
Auto Trait Implementations§
impl Freeze for DirectionsType
impl RefUnwindSafe for DirectionsType
impl Send for DirectionsType
impl Sync for DirectionsType
impl Unpin for DirectionsType
impl UnwindSafe for DirectionsType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.