pub enum TrafficIncidentType {
Construction,
Event,
Accident,
Weather,
Closure,
}Expand description
Class of disruption reported in a traffic incident.
Variants§
Construction
Road construction.
Event
Traffic-impacting event.
Accident
Collision.
Weather
Weather-related disruption.
Closure
Lane or road closure.
Trait Implementations§
Source§impl Clone for TrafficIncidentType
impl Clone for TrafficIncidentType
Source§fn clone(&self) -> TrafficIncidentType
fn clone(&self) -> TrafficIncidentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrafficIncidentType
Source§impl Debug for TrafficIncidentType
impl Debug for TrafficIncidentType
Source§impl<'de> Deserialize<'de> for TrafficIncidentType
impl<'de> Deserialize<'de> for TrafficIncidentType
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
impl Eq for TrafficIncidentType
Source§impl Hash for TrafficIncidentType
impl Hash for TrafficIncidentType
Source§impl PartialEq for TrafficIncidentType
impl PartialEq for TrafficIncidentType
Source§impl Serialize for TrafficIncidentType
impl Serialize for TrafficIncidentType
impl StructuralPartialEq for TrafficIncidentType
Auto Trait Implementations§
impl Freeze for TrafficIncidentType
impl RefUnwindSafe for TrafficIncidentType
impl Send for TrafficIncidentType
impl Sync for TrafficIncidentType
impl Unpin for TrafficIncidentType
impl UnsafeUnpin for TrafficIncidentType
impl UnwindSafe for TrafficIncidentType
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