pub struct StatsSummary {
pub count: u64,
pub time_range: (DateTime<Utc>, DateTime<Utc>),
pub metrics: HashMap<String, MetricSummary>,
pub sources: Vec<String>,
}
Expand description
Statistics summary for aggregated data
Fields§
§count: u64
Number of records processed
time_range: (DateTime<Utc>, DateTime<Utc>)
Time range of the summary
metrics: HashMap<String, MetricSummary>
Aggregated metrics
sources: Vec<String>
Sources included in the summary
Trait Implementations§
Source§impl Clone for StatsSummary
impl Clone for StatsSummary
Source§fn clone(&self) -> StatsSummary
fn clone(&self) -> StatsSummary
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 StatsSummary
impl Debug for StatsSummary
Source§impl<'de> Deserialize<'de> for StatsSummary
impl<'de> Deserialize<'de> for StatsSummary
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 StatsSummary
impl RefUnwindSafe for StatsSummary
impl Send for StatsSummary
impl Sync for StatsSummary
impl Unpin for StatsSummary
impl UnwindSafe for StatsSummary
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