Enum tankerkoenig::models::Fuel
source · pub enum Fuel {
E5,
E10,
Diesel,
}
Expand description
Enum of all supported fuel types
Variants§
E5
Super95 or E5 and serialized to e5
E10
Super90 or E10 and serialized to e10
Diesel
Diesel and serialized to diesel
Trait Implementations§
source§impl Ord for Fuel
impl Ord for Fuel
source§impl PartialEq for Fuel
impl PartialEq for Fuel
source§impl PartialOrd for Fuel
impl PartialOrd for Fuel
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 Eq for Fuel
impl StructuralPartialEq for Fuel
Auto Trait Implementations§
impl Freeze for Fuel
impl RefUnwindSafe for Fuel
impl Send for Fuel
impl Sync for Fuel
impl Unpin for Fuel
impl UnwindSafe for Fuel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)