Enum valhalla_client::DirectionsType
source · pub enum DirectionsType {
None,
Maneuvers,
Instructions,
}
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 copy 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 Serialize for DirectionsType
impl Serialize for DirectionsType
impl Copy for DirectionsType
Auto Trait Implementations§
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