pub struct QuarterAggregate {
pub start: i64,
pub mean_power_kw: Option<f64>,
pub last_soc: Option<f64>,
pub good_share: f64,
}Expand description
One quarter hour of an asset.
Fields§
§start: i64Quarter start, Unix seconds.
mean_power_kw: Option<f64>Time-weighted mean of good power values, kW; None without good values.
last_soc: Option<f64>The last good state of charge in the quarter, %.
Share of the quarter covered by good power values, 0–1.
Trait Implementations§
Source§impl Clone for QuarterAggregate
impl Clone for QuarterAggregate
impl Copy for QuarterAggregate
Source§impl Debug for QuarterAggregate
impl Debug for QuarterAggregate
Source§impl PartialEq for QuarterAggregate
impl PartialEq for QuarterAggregate
Source§impl Serialize for QuarterAggregate
impl Serialize for QuarterAggregate
impl StructuralPartialEq for QuarterAggregate
Auto Trait Implementations§
impl Forget for QuarterAggregate
impl Freeze for QuarterAggregate
impl Move for QuarterAggregate
impl RefUnwindSafe for QuarterAggregate
impl Send for QuarterAggregate
impl Sync for QuarterAggregate
impl Unpin for QuarterAggregate
impl UnsafeUnpin for QuarterAggregate
impl UnwindSafe for QuarterAggregate
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