pub struct HistoryStats {
pub count: u64,
pub min: HistoryAggregates,
pub max: HistoryAggregates,
pub avg: HistoryAggregates,
pub time_range: Option<(OffsetDateTime, OffsetDateTime)>,
}Expand description
Aggregate statistics for history data.
Fields§
§count: u64Number of records.
min: HistoryAggregatesMinimum values.
max: HistoryAggregatesMaximum values.
avg: HistoryAggregatesAverage values.
time_range: Option<(OffsetDateTime, OffsetDateTime)>Time range of records.
Trait Implementations§
Source§impl Clone for HistoryStats
impl Clone for HistoryStats
Source§fn clone(&self) -> HistoryStats
fn clone(&self) -> HistoryStats
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 moreSource§impl Debug for HistoryStats
impl Debug for HistoryStats
Source§impl<'de> Deserialize<'de> for HistoryStats
impl<'de> Deserialize<'de> for HistoryStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HistoryStats
impl RefUnwindSafe for HistoryStats
impl Send for HistoryStats
impl Sync for HistoryStats
impl Unpin for HistoryStats
impl UnwindSafe for HistoryStats
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