pub enum VehicleType {
Bus,
Disabled,
Motorcycle,
PersonalVehicle,
PersonalVehicleWithTrailer,
Rigid,
SemiTractor,
TruckWithTrailer,
Van,
}Variants§
Bus
Disabled
Motorcycle
PersonalVehicle
PersonalVehicleWithTrailer
Rigid
SemiTractor
TruckWithTrailer
Van
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VehicleType
impl<'de> Deserialize<'de> for VehicleType
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 VehicleType
impl RefUnwindSafe for VehicleType
impl Send for VehicleType
impl Sync for VehicleType
impl Unpin for VehicleType
impl UnsafeUnpin for VehicleType
impl UnwindSafe for VehicleType
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