pub struct GroupBucket {
pub keys: Map<String, Value>,
pub count_roots: u64,
pub sums: Map<String, Value>,
pub counts: Map<String, Value>,
pub mins: Map<String, Value>,
pub maxs: Map<String, Value>,
pub derived_outputs: BTreeMap<String, Value>,
}Expand description
One aggregation bucket carrying its typed group tuple, per-metric maps and materialized derived outputs.
Fields§
§keys: Map<String, Value>One entry per group_by field; missing renders as the documented
MISSING sentinel so explicit Null (Json::Null) stays distinct.
count_roots: u64Number of root records bound to this bucket.
sums: Map<String, Value>$sum outputs keyed by normalized output name.
counts: Map<String, Value>$count outputs: a JSON array holding each distinct counted value.
mins: Map<String, Value>$min outputs keyed by normalized output name.
maxs: Map<String, Value>$max outputs keyed by normalized output name.
derived_outputs: BTreeMap<String, Value>Materialized derived outputs keyed by normalized name.
Trait Implementations§
Source§impl Clone for GroupBucket
impl Clone for GroupBucket
Source§impl Debug for GroupBucket
impl Debug for GroupBucket
Source§impl Default for GroupBucket
impl Default for GroupBucket
Auto Trait Implementations§
impl Freeze for GroupBucket
impl RefUnwindSafe for GroupBucket
impl Send for GroupBucket
impl Sync for GroupBucket
impl Unpin for GroupBucket
impl UnsafeUnpin for GroupBucket
impl UnwindSafe for GroupBucket
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