pub struct Recent {
pub at: i64,
pub power_kw: Option<f64>,
pub soc: Option<f64>,
}Expand description
One recent instant: power and state of charge taken at the same source time.
Fields§
§at: i64Source time, Unix seconds.
power_kw: Option<f64>Power, kW.
soc: Option<f64>State of charge, %.
Trait Implementations§
impl Copy for Recent
impl StructuralPartialEq for Recent
Auto Trait Implementations§
impl Forget for Recent
impl Freeze for Recent
impl Move for Recent
impl RefUnwindSafe for Recent
impl Send for Recent
impl Sync for Recent
impl Unpin for Recent
impl UnsafeUnpin for Recent
impl UnwindSafe for Recent
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