pub enum Sparte {
Strom,
Gas,
}Expand description
Commodity — Strom (electricity) or Gas.
Controls which legal references are applied to each settlement position:
Strom→StromNEV, BK6 FestlegungenGas→GasNEV, BK7 Festlegungen
Variants§
Trait Implementations§
impl Copy for Sparte
Source§impl<'de> Deserialize<'de> for Sparte
impl<'de> Deserialize<'de> for Sparte
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 Eq for Sparte
Source§impl Ord for Sparte
impl Ord for Sparte
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Sparte
impl PartialOrd for Sparte
impl StructuralPartialEq for Sparte
Auto Trait Implementations§
impl Freeze for Sparte
impl RefUnwindSafe for Sparte
impl Send for Sparte
impl Sync for Sparte
impl Unpin for Sparte
impl UnsafeUnpin for Sparte
impl UnwindSafe for Sparte
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