Enum lta_models::bus_enums::BusCategory
source · pub enum BusCategory {
Express,
Feeder,
Industrial,
TownLink,
Trunk,
TwoTierFlatFare,
FlatFee,
NightService,
CityLink,
FlatFareTwoDollar,
Unknown,
}
Variants§
Express
Feeder
Industrial
TownLink
Trunk
TwoTierFlatFare
FlatFee
NightService
CityLink
FlatFareTwoDollar
Unknown
Trait Implementations§
source§impl Clone for BusCategory
impl Clone for BusCategory
source§fn clone(&self) -> BusCategory
fn clone(&self) -> BusCategory
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 BusCategory
impl Debug for BusCategory
source§impl Default for BusCategory
impl Default for BusCategory
source§fn default() -> BusCategory
fn default() -> BusCategory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BusCategory
impl<'de> Deserialize<'de> for BusCategory
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 BusCategory
impl PartialEq for BusCategory
source§fn eq(&self, other: &BusCategory) -> bool
fn eq(&self, other: &BusCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BusCategory
impl PartialOrd for BusCategory
source§fn partial_cmp(&self, other: &BusCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &BusCategory) -> Option<Ordering>
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 moresource§impl Serialize for BusCategory
impl Serialize for BusCategory
impl StructuralPartialEq for BusCategory
Auto Trait Implementations§
impl RefUnwindSafe for BusCategory
impl Send for BusCategory
impl Sync for BusCategory
impl Unpin for BusCategory
impl UnwindSafe for BusCategory
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