Enum valhalla_client::BicycleType
source · pub enum BicycleType {
Road,
Hybrid,
Cross,
Mountain,
}
Variants§
Road
Road: a road-style bicycle with narrow tires that is generally lightweight and designed for speed on paved surfaces.
Hybrid
Hybrid or City: a bicycle made mostly for city riding or casual riding on roads and paths with good surfaces.
Cross
Cross: a cyclo-cross bicycle, which is similar to a road bicycle but with wider tires suitable to rougher surfaces.
Mountain
Mountain: a mountain bicycle suitable for most surfaces but generally heavier and slower on paved surfaces.
Trait Implementations§
source§impl Clone for BicycleType
impl Clone for BicycleType
source§fn clone(&self) -> BicycleType
fn clone(&self) -> BicycleType
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 BicycleType
impl Debug for BicycleType
source§impl Default for BicycleType
impl Default for BicycleType
source§fn default() -> BicycleType
fn default() -> BicycleType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BicycleType
impl<'de> Deserialize<'de> for BicycleType
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
source§impl Serialize for BicycleType
impl Serialize for BicycleType
impl Copy for BicycleType
Auto Trait Implementations§
impl RefUnwindSafe for BicycleType
impl Send for BicycleType
impl Sync for BicycleType
impl Unpin for BicycleType
impl UnwindSafe for BicycleType
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