pub enum LegacyStatus {
None,
ReducedNetworkFee,
Nachtspeicher,
}Expand description
What a device brings with it from before 2024, [BK6-22-300 A1 10].
A fact about the device and its contract, not a rule: hems-grid turns it
into a regime. It has to live here because the guard needs it on every tick
and the answer is not derivable from anything else on the asset — whether a
reduced network fee was ever granted is in a contract, not in a datasheet.
Variants§
None
Nothing: no reduced network fee was ever granted for it.
ReducedNetworkFee
A reduced network fee under the old § 14a Abs. 2 Satz 1 EnWG or its
predecessor was granted, [A1 10.1].
Nachtspeicher
It is a night-storage heater on the old rule, [A1 10.2.b].
Trait Implementations§
Source§impl Clone for LegacyStatus
impl Clone for LegacyStatus
Source§fn clone(&self) -> LegacyStatus
fn clone(&self) -> LegacyStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LegacyStatus
Source§impl Debug for LegacyStatus
impl Debug for LegacyStatus
Source§impl Default for LegacyStatus
impl Default for LegacyStatus
Source§fn default() -> LegacyStatus
fn default() -> LegacyStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LegacyStatus
impl<'de> Deserialize<'de> for LegacyStatus
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 LegacyStatus
Source§impl PartialEq for LegacyStatus
impl PartialEq for LegacyStatus
Source§impl Serialize for LegacyStatus
impl Serialize for LegacyStatus
impl StructuralPartialEq for LegacyStatus
Auto Trait Implementations§
impl Freeze for LegacyStatus
impl RefUnwindSafe for LegacyStatus
impl Send for LegacyStatus
impl Sync for LegacyStatus
impl Unpin for LegacyStatus
impl UnsafeUnpin for LegacyStatus
impl UnwindSafe for LegacyStatus
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