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