pub struct GroupStats {
pub count: u64,
pub sum: f64,
pub min: Option<IndexValue>,
pub max: Option<IndexValue>,
}Expand description
One group’s live statistics.
Fields§
§count: u64Rows in the group.
sum: f64Sum of the aggregated field (f64 accumulation — the i64 overflow guard; precision bounds documented).
min: Option<IndexValue>Exact minimum (None only when count == 0).
max: Option<IndexValue>Exact maximum.
Implementations§
Trait Implementations§
Source§impl Clone for GroupStats
impl Clone for GroupStats
Source§fn clone(&self) -> GroupStats
fn clone(&self) -> GroupStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GroupStats
impl Debug for GroupStats
Source§impl PartialEq for GroupStats
impl PartialEq for GroupStats
Source§fn eq(&self, other: &GroupStats) -> bool
fn eq(&self, other: &GroupStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GroupStats
Auto Trait Implementations§
impl Freeze for GroupStats
impl RefUnwindSafe for GroupStats
impl Send for GroupStats
impl Sync for GroupStats
impl Unpin for GroupStats
impl UnsafeUnpin for GroupStats
impl UnwindSafe for GroupStats
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