pub struct Reading {
pub value: f64,
pub at: i64,
pub quality: Quality,
}Expand description
One value with its source time and its quality at the instant it was read.
Fields§
§value: f64The value (kW or %).
at: i64Source time, Unix seconds.
quality: QualityQuality at the instant of reading.
Trait Implementations§
impl Copy for Reading
impl StructuralPartialEq for Reading
Auto Trait Implementations§
impl Forget for Reading
impl Freeze for Reading
impl Move for Reading
impl RefUnwindSafe for Reading
impl Send for Reading
impl Sync for Reading
impl Unpin for Reading
impl UnsafeUnpin for Reading
impl UnwindSafe for Reading
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