pub enum VehicleType {
CAR,
TAXI,
MOTORCYCLE,
}Expand description
Enum representing the vehicle type.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VehicleType
impl Clone for VehicleType
Source§fn clone(&self) -> VehicleType
fn clone(&self) -> VehicleType
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 VehicleType
impl Debug for VehicleType
Source§impl PartialEq for VehicleType
impl PartialEq for VehicleType
impl Copy for VehicleType
impl StructuralPartialEq for VehicleType
Auto Trait Implementations§
impl Freeze for VehicleType
impl RefUnwindSafe for VehicleType
impl Send for VehicleType
impl Sync for VehicleType
impl Unpin 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