pub enum RoadCategory {
Expressway,
MajorArterialRoads,
ArterialRoads,
MinorArterialRoads,
SmallRoads,
SlipRoads,
NoCategoryInfoAvail,
Unknown,
}
Variants§
Expressway
MajorArterialRoads
ArterialRoads
MinorArterialRoads
SmallRoads
SlipRoads
NoCategoryInfoAvail
Unknown
Trait Implementations§
source§impl Clone for RoadCategory
impl Clone for RoadCategory
source§fn clone(&self) -> RoadCategory
fn clone(&self) -> RoadCategory
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 RoadCategory
impl Debug for RoadCategory
source§impl Default for RoadCategory
impl Default for RoadCategory
source§fn default() -> RoadCategory
fn default() -> RoadCategory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RoadCategory
impl<'de> Deserialize<'de> for RoadCategory
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 RoadCategory
impl PartialEq for RoadCategory
source§fn eq(&self, other: &RoadCategory) -> bool
fn eq(&self, other: &RoadCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RoadCategory
impl Serialize for RoadCategory
impl StructuralPartialEq for RoadCategory
Auto Trait Implementations§
impl RefUnwindSafe for RoadCategory
impl Send for RoadCategory
impl Sync for RoadCategory
impl Unpin 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