Enum lta_models::traffic::traffic_incidents::IncidentType
source · pub enum IncidentType {
Accident,
RoadWorks,
VehicleBreakdown,
Weather,
Obstacle,
RoadBlock,
HeavyTraffic,
Misc,
Diversion,
UnattendedVehicle,
Roadwork,
Unknown,
}
Variants§
Accident
RoadWorks
VehicleBreakdown
Weather
Obstacle
RoadBlock
HeavyTraffic
Misc
Diversion
UnattendedVehicle
Roadwork
Unknown
Trait Implementations§
source§impl Clone for IncidentType
impl Clone for IncidentType
source§fn clone(&self) -> IncidentType
fn clone(&self) -> IncidentType
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 IncidentType
impl Debug for IncidentType
source§impl Default for IncidentType
impl Default for IncidentType
source§fn default() -> IncidentType
fn default() -> IncidentType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IncidentType
impl<'de> Deserialize<'de> for IncidentType
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 PartialEq for IncidentType
impl PartialEq for IncidentType
source§fn eq(&self, other: &IncidentType) -> bool
fn eq(&self, other: &IncidentType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IncidentType
impl Serialize for IncidentType
impl StructuralPartialEq for IncidentType
Auto Trait Implementations§
impl RefUnwindSafe for IncidentType
impl Send for IncidentType
impl Sync for IncidentType
impl Unpin for IncidentType
impl UnwindSafe for IncidentType
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