Skip to main content

ConcessionFeeCustomerGroup

Enum ConcessionFeeCustomerGroup 

Source
#[non_exhaustive]
pub enum ConcessionFeeCustomerGroup {
Show 20 variants ElectricityOffPeak, ElectricityTariff25000, ElectricityTariff100000, ElectricityTariff500000, ElectricityTariffAbove500000, ElectricitySpecialCustomer, GasCookingHotWater25000, GasCookingHotWater100000, GasCookingHotWater500000, GasCookingHotWaterAbove500000, GasTariff25000, GasTariff100000, GasTariff500000, GasTariffAbove500000, GasSpecialCustomer, SpecialKAS, SpecialSAS, SpecialTAS, SpecialTKS, SpecialTSS,
}
Expand description

Customer group classification for concession fee calculation.

An enumeration for classifying the level of concession fees.

German: KundengruppeKA (Kundengruppe Konzessionsabgabe)

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.
§

ElectricityOffPeak

Electricity off-peak/low load (Strom Schwachlast)

§

ElectricityTariff25000

Electricity tariff up to 25,000 kWh

§

ElectricityTariff100000

Electricity tariff up to 100,000 kWh

§

ElectricityTariff500000

Electricity tariff up to 500,000 kWh

§

ElectricityTariffAbove500000

Electricity tariff above 500,000 kWh

§

ElectricitySpecialCustomer

Electricity special contract customer (Strom Sonderkunde)

§

GasCookingHotWater25000

Gas cooking/hot water up to 25,000 kWh

§

GasCookingHotWater100000

Gas cooking/hot water up to 100,000 kWh

§

GasCookingHotWater500000

Gas cooking/hot water up to 500,000 kWh

§

GasCookingHotWaterAbove500000

Gas cooking/hot water above 500,000 kWh

§

GasTariff25000

Gas tariff up to 25,000 kWh

§

GasTariff100000

Gas tariff up to 100,000 kWh

§

GasTariff500000

Gas tariff up to 500,000 kWh

§

GasTariffAbove500000

Gas tariff above 500,000 kWh

§

GasSpecialCustomer

Gas special contract customer (Gas Sonderkunde)

§

SpecialKAS

Special KAS - applies to both electricity and gas

§

SpecialSAS

Special SAS - applies to both electricity and gas

§

SpecialTAS

Special TAS - applies to both electricity and gas

§

SpecialTKS

Special TKS - applies to gas

§

SpecialTSS

Special TSS - applies to electricity

Implementations§

Source§

impl ConcessionFeeCustomerGroup

Source

pub fn german_name(&self) -> &'static str

Returns the German name.

Source

pub fn is_electricity(&self) -> bool

Returns true if this group applies to electricity.

Source

pub fn is_gas(&self) -> bool

Returns true if this group applies to gas.

Trait Implementations§

Source§

impl Clone for ConcessionFeeCustomerGroup

Source§

fn clone(&self) -> ConcessionFeeCustomerGroup

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ConcessionFeeCustomerGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ConcessionFeeCustomerGroup

Source§

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 Hash for ConcessionFeeCustomerGroup

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ConcessionFeeCustomerGroup

Source§

fn eq(&self, other: &ConcessionFeeCustomerGroup) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ConcessionFeeCustomerGroup

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for ConcessionFeeCustomerGroup

Source§

impl Eq for ConcessionFeeCustomerGroup

Source§

impl StructuralPartialEq for ConcessionFeeCustomerGroup

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,