pub enum FuelType {
coal,
oil,
gas,
lignite,
hardCoal,
oilShale,
brownCoalLignite,
coalDerivedGas,
peat,
other,
}Expand description
Type of fuel.
Variants§
coal
Generic coal, not including lignite type.
oil
Oil.
gas
Natural gas.
lignite
The fuel is lignite coal. Note that this is a special type of coal, so the other enum of coal is reserved for hard coal types or if the exact type of coal is not known.
hardCoal
Hard coal.
oilShale
Oil Shale.
brownCoalLignite
Brown coal lignite.
coalDerivedGas
Coal derived gas.
peat
Peat.
other
Any fuel type not included in the rest of the enumerated value.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FuelType
impl<'de> Deserialize<'de> for FuelType
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
impl StructuralPartialEq for FuelType
Auto Trait Implementations§
impl Freeze for FuelType
impl RefUnwindSafe for FuelType
impl Send for FuelType
impl Sync for FuelType
impl Unpin for FuelType
impl UnsafeUnpin for FuelType
impl UnwindSafe for FuelType
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