pub struct MeterTrace {
pub register: Vec<MeterPoint>,
pub closed: Vec<MeterPoint>,
/* private fields */
}Expand description
A ready-to-serialize input to cemsd reconcile. Reconciliation itself
remains with CEMS, including its handling of counter decreases and gaps.
Fields§
§register: Vec<MeterPoint>Usable source observations, ordered by UTC instant.
closed: Vec<MeterPoint>Independent closes keyed by the start of the UTC quarter.
Implementations§
Source§impl MeterTrace
impl MeterTrace
Sourcepub fn start(&self) -> OffsetDateTime
pub fn start(&self) -> OffsetDateTime
Inclusive start of the comparison window, normalized to UTC.
Sourcepub fn end(&self) -> OffsetDateTime
pub fn end(&self) -> OffsetDateTime
Inclusive end of register coverage, normalized to UTC. Closes must start before this instant.
Sourcepub fn tolerance_wh(&self) -> u64
pub fn tolerance_wh(&self) -> u64
Largest accepted absolute difference between the two energy series, in Wh.
Trait Implementations§
Source§impl Debug for MeterTrace
impl Debug for MeterTrace
Auto Trait Implementations§
impl Forget for MeterTrace
impl Freeze for MeterTrace
impl Move for MeterTrace
impl RefUnwindSafe for MeterTrace
impl Send for MeterTrace
impl Sync for MeterTrace
impl Unpin for MeterTrace
impl UnsafeUnpin for MeterTrace
impl UnwindSafe for MeterTrace
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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