pub struct MeterWindow<'a> {
pub device: &'a str,
pub application_uri: &'a str,
pub node: &'a NodeId,
pub start: OffsetDateTime,
pub end: OffsetDateTime,
pub tolerance_wh: u64,
}Expand description
A site’s independently bound CEMS comparison window, supplied to MeterProjector::new.
Fields§
§device: &'a strDevice to which the independent close feed belongs.
application_uri: &'a strApplicationUri of that meter’s OPC UA server.
node: &'a NodeIdURI-qualified identity of the corresponding register.
start: OffsetDateTimeInclusive, quarter-hour-aligned comparison start.
end: OffsetDateTimeInclusive register end and exclusive close start limit, at most 31 days after start.
tolerance_wh: u64Largest accepted absolute difference in watt-hours.
Trait Implementations§
Source§impl<'a> Clone for MeterWindow<'a>
impl<'a> Clone for MeterWindow<'a>
impl<'a> Copy for MeterWindow<'a>
Auto Trait Implementations§
impl<'a> Forget for MeterWindow<'a>
impl<'a> Freeze for MeterWindow<'a>
impl<'a> Move for MeterWindow<'a>
impl<'a> RefUnwindSafe for MeterWindow<'a>
impl<'a> Send for MeterWindow<'a>
impl<'a> Sync for MeterWindow<'a>
impl<'a> Unpin for MeterWindow<'a>
impl<'a> UnsafeUnpin for MeterWindow<'a>
impl<'a> UnwindSafe for MeterWindow<'a>
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