Enum lta_models::bus_enums::BusLoad
source · pub enum BusLoad {
SeatsAvailable,
StandingAvailable,
LimitedStanding,
Unknown,
}
Expand description
SEA -> Seats available
SDA -> Standing available
LSD -> Limited standing
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BusLoad
impl<'de> Deserialize<'de> for BusLoad
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 BusLoad
impl PartialEq for BusLoad
source§impl PartialOrd for BusLoad
impl PartialOrd for BusLoad
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for BusLoad
Auto Trait Implementations§
impl RefUnwindSafe for BusLoad
impl Send for BusLoad
impl Sync for BusLoad
impl Unpin for BusLoad
impl UnwindSafe for BusLoad
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