#[non_exhaustive]pub enum Division {
Electricity,
Gas,
DistrictHeating,
LocalHeating,
Water,
Wastewater,
ElectricityAndGas,
}Expand description
Energy division/sector.
Indicates which energy sector a business object belongs to.
German: Sparte
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Electricity
Electricity (Strom)
Gas
Natural gas (Gas)
DistrictHeating
District heating (Fernwaerme)
LocalHeating
Local/near heating (Nahwaerme)
Water
Water (Wasser)
Wastewater
Wastewater (Abwasser)
ElectricityAndGas
Cross-divisional electricity and gas (Strom und Gas)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Division
impl<'de> Deserialize<'de> for Division
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 Copy for Division
impl Eq for Division
impl StructuralPartialEq for Division
Auto Trait Implementations§
impl Freeze for Division
impl RefUnwindSafe for Division
impl Send for Division
impl Sync for Division
impl Unpin for Division
impl UnwindSafe for Division
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