Enum lta_models::traffic::erp_rates::VehicleType
source · pub enum VehicleType {
PassengerCars,
Motorcycles,
LightGoodsVehicles,
HeavyGoodsVehicles,
VeryHeavyGoodsVehicles,
Taxis,
BigBuses,
Unknown,
}
Variants§
PassengerCars
Motorcycles
LightGoodsVehicles
HeavyGoodsVehicles
VeryHeavyGoodsVehicles
Taxis
BigBuses
Unknown
Trait Implementations§
source§impl Clone for VehicleType
impl Clone for VehicleType
source§fn clone(&self) -> VehicleType
fn clone(&self) -> VehicleType
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 VehicleType
impl Debug for VehicleType
source§impl Default for VehicleType
impl Default for VehicleType
source§fn default() -> VehicleType
fn default() -> VehicleType
Returns the “default value” for a type. Read more
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
source§impl FromStr for VehicleType
impl FromStr for VehicleType
source§impl PartialEq for VehicleType
impl PartialEq for VehicleType
source§fn eq(&self, other: &VehicleType) -> bool
fn eq(&self, other: &VehicleType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VehicleType
impl Serialize for VehicleType
impl StructuralPartialEq for VehicleType
Auto Trait Implementations§
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