pub struct SessionSplit {
pub slots: Vec<SlotEnergie>,
pub nicht_zugeordnet_kwh: Decimal,
}Expand description
A session split across the quarter hours it spans.
Fields§
§slots: Vec<SlotEnergie>One entry per quarter hour the session touched, in time order.
nicht_zugeordnet_kwh: DecimalEnergy the split could not place, in kWh.
Not an error and not silent. A proportional split cuts each share to
six decimal places toward zero (metering::allocation::ALLOCATION_DP),
so a session spanning many slots can leave a millionth of a kWh
unplaced. That energy was really drawn, so it does not vanish: it stays
out of every supplier’s Bilanzkreis and lands in the Deltamenge, which
Anlage 6 §IV.2 books to the LPB’s own Bilanzkreis at its cost. Reported
here so an operator can see the magnitude rather than discover it in a
yearly reconciliation.
Trait Implementations§
Source§impl Clone for SessionSplit
impl Clone for SessionSplit
Source§fn clone(&self) -> SessionSplit
fn clone(&self) -> SessionSplit
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 moreSource§impl Debug for SessionSplit
impl Debug for SessionSplit
Source§impl<'de> Deserialize<'de> for SessionSplit
impl<'de> Deserialize<'de> for SessionSplit
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 SessionSplit
Source§impl PartialEq for SessionSplit
impl PartialEq for SessionSplit
Source§impl Serialize for SessionSplit
impl Serialize for SessionSplit
impl StructuralPartialEq for SessionSplit
Auto Trait Implementations§
impl Freeze for SessionSplit
impl RefUnwindSafe for SessionSplit
impl Send for SessionSplit
impl Sync for SessionSplit
impl Unpin for SessionSplit
impl UnsafeUnpin for SessionSplit
impl UnwindSafe for SessionSplit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.