pub struct ClosingReading<'a> {
pub profile_id: &'a str,
pub channel: Channel<'a>,
pub end_utc: i64,
pub cumulative_wh: u64,
}Expand description
Local report for one commissioned quantity at the end of a billing period.
Fields§
§profile_id: &'a str§channel: Channel<'a>§end_utc: i64Scheduled end of the billing period, in Unix seconds.
cumulative_wh: u64Absolute register reading, normalized to whole watt-hours.
Trait Implementations§
Source§impl<'a> Clone for ClosingReading<'a>
impl<'a> Clone for ClosingReading<'a>
impl<'a> Copy for ClosingReading<'a>
Source§impl<'a> Debug for ClosingReading<'a>
impl<'a> Debug for ClosingReading<'a>
impl<'a> Eq for ClosingReading<'a>
Source§impl<'a> PartialEq for ClosingReading<'a>
impl<'a> PartialEq for ClosingReading<'a>
impl<'a> StructuralPartialEq for ClosingReading<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClosingReading<'a>
impl<'a> RefUnwindSafe for ClosingReading<'a>
impl<'a> Send for ClosingReading<'a>
impl<'a> Sync for ClosingReading<'a>
impl<'a> Unpin for ClosingReading<'a>
impl<'a> UnsafeUnpin for ClosingReading<'a>
impl<'a> UnwindSafe for ClosingReading<'a>
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