pub struct GeneratedPowerValue {
pub date: NaiveDateTime,
pub value: Option<Power>,
}
Expand description
A timestamped Power
value. The value may be None when there wasn’t a
value at that timestamp
Fields§
§date: NaiveDateTime
§value: Option<Power>
Trait Implementations§
Source§impl Clone for GeneratedPowerValue
impl Clone for GeneratedPowerValue
Source§fn clone(&self) -> GeneratedPowerValue
fn clone(&self) -> GeneratedPowerValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GeneratedPowerValue
impl !RefUnwindSafe for GeneratedPowerValue
impl Send for GeneratedPowerValue
impl Sync for GeneratedPowerValue
impl Unpin for GeneratedPowerValue
impl !UnwindSafe for GeneratedPowerValue
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