pub struct Interval<'a> {
pub profile_id: &'a str,
pub channel: Channel<'a>,
pub end_utc: i64,
pub closing: Reading,
pub mean: Demand,
pub peak: Option<Peak>,
}Fields§
§profile_id: &'a str§channel: Channel<'a>§end_utc: i64§closing: ReadingRegistered closing count with its effective status for this billing window.
mean: Demand§peak: Option<Peak>None while the maximum register is zero and has no associated time.
Trait Implementations§
impl<'a> Copy for Interval<'a>
impl<'a> Eq for Interval<'a>
impl<'a> StructuralPartialEq for Interval<'a>
Auto Trait Implementations§
impl<'a> Freeze for Interval<'a>
impl<'a> RefUnwindSafe for Interval<'a>
impl<'a> Send for Interval<'a>
impl<'a> Sync for Interval<'a>
impl<'a> Unpin for Interval<'a>
impl<'a> UnsafeUnpin for Interval<'a>
impl<'a> UnwindSafe for Interval<'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