pub struct MeterProjection {
pub trace: MeterTrace,
pub skipped_status: usize,
pub skipped_source_time: usize,
pub skipped_precision: usize,
pub first_exclusion: Option<MeterExclusion>,
pub outside_window: usize,
pub duplicate_readings: usize,
}Expand description
Result of projecting evidence into a CEMS trace.
Fields§
§trace: MeterTraceWrite this compactly as one JSON document for CEMS.
skipped_status: usizeRows with a nonzero status, including qualified Good statuses.
skipped_source_time: usizeUnqualified Good rows with missing source time or source time after receipt.
skipped_precision: usizeOtherwise eligible Float or Double rows without a nonnegative whole Wh value below the original type’s 1 Wh resolution limit (2²⁴ or 2⁵³).
first_exclusion: Option<MeterExclusion>First observation in input order counted by any of the three skipped_* counters.
Outside-window observations and usable duplicates do not set this field.
outside_window: usizeTimed rows outside the requested window (regardless of status).
duplicate_readings: usizeAdditional usable rows with the same source instant and exact value.
Trait Implementations§
Auto Trait Implementations§
impl Forget for MeterProjection
impl Freeze for MeterProjection
impl Move for MeterProjection
impl RefUnwindSafe for MeterProjection
impl Send for MeterProjection
impl Sync for MeterProjection
impl Unpin for MeterProjection
impl UnsafeUnpin for MeterProjection
impl UnwindSafe for MeterProjection
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