pub enum RoadCategory {
Expressway,
MajorArterialRoads,
ArterialRoads,
MinorArterialRoads,
SmallRoads,
SlipRoads,
NoCategoryInfoAvail,
Other(String),
}Expand description
Classification of the road carrying the traffic-speed reading.
Variants§
Expressway
MajorArterialRoads
ArterialRoads
MinorArterialRoads
SmallRoads
SlipRoads
NoCategoryInfoAvail
Other(String)
Implementations§
Trait Implementations§
Source§impl AsRef<str> for RoadCategory
impl AsRef<str> for RoadCategory
Source§impl Clone for RoadCategory
impl Clone for RoadCategory
Source§fn clone(&self) -> RoadCategory
fn clone(&self) -> RoadCategory
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 RoadCategory
impl Debug for RoadCategory
Source§impl<'de> Deserialize<'de> for RoadCategory
Available on crate feature serde only.
impl<'de> Deserialize<'de> for RoadCategory
Available on crate feature
serde only.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 Display for RoadCategory
impl Display for RoadCategory
Source§impl PartialEq for RoadCategory
impl PartialEq for RoadCategory
Source§impl Serialize for RoadCategory
Available on crate feature serde only.
impl Serialize for RoadCategory
Available on crate feature
serde only.impl Eq for RoadCategory
impl StructuralPartialEq for RoadCategory
Auto Trait Implementations§
impl Freeze for RoadCategory
impl RefUnwindSafe for RoadCategory
impl Send for RoadCategory
impl Sync for RoadCategory
impl Unpin for RoadCategory
impl UnsafeUnpin for RoadCategory
impl UnwindSafe for RoadCategory
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