#[repr(u8)]pub enum GTFSRealtimeCongestionLevel {
UnknownCongestionLevel = 0,
RunningSmoothly = 1,
StopAndGo = 2,
Congestion = 3,
SevereCongestion = 4,
}Expand description
Congestion level that is affecting this vehicle.
Variants§
UnknownCongestionLevel = 0
Unknown congestion level
RunningSmoothly = 1
Smooth traffic
StopAndGo = 2
Stop and go traffic
Congestion = 3
Heavy traffic
SevereCongestion = 4
Severe traffic (people leaving their cars)
Trait Implementations§
Source§impl Clone for GTFSRealtimeCongestionLevel
impl Clone for GTFSRealtimeCongestionLevel
Source§fn clone(&self) -> GTFSRealtimeCongestionLevel
fn clone(&self) -> GTFSRealtimeCongestionLevel
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GTFSRealtimeCongestionLevel
impl Debug for GTFSRealtimeCongestionLevel
Source§impl Default for GTFSRealtimeCongestionLevel
impl Default for GTFSRealtimeCongestionLevel
Source§fn default() -> GTFSRealtimeCongestionLevel
fn default() -> GTFSRealtimeCongestionLevel
Returns the “default value” for a type. Read more
Source§impl Hash for GTFSRealtimeCongestionLevel
impl Hash for GTFSRealtimeCongestionLevel
Source§impl Ord for GTFSRealtimeCongestionLevel
impl Ord for GTFSRealtimeCongestionLevel
Source§impl PartialOrd for GTFSRealtimeCongestionLevel
impl PartialOrd for GTFSRealtimeCongestionLevel
impl Copy for GTFSRealtimeCongestionLevel
impl Eq for GTFSRealtimeCongestionLevel
impl StructuralPartialEq for GTFSRealtimeCongestionLevel
Auto Trait Implementations§
impl Freeze for GTFSRealtimeCongestionLevel
impl RefUnwindSafe for GTFSRealtimeCongestionLevel
impl Send for GTFSRealtimeCongestionLevel
impl Sync for GTFSRealtimeCongestionLevel
impl Unpin for GTFSRealtimeCongestionLevel
impl UnwindSafe for GTFSRealtimeCongestionLevel
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().