pub enum Additivity {
Additive,
SemiAdditive,
NonAdditive,
}Expand description
Whether a metric’s aggregation is additive across the dimensions a decomposition would drill along. Inferred by an adapter from the metric’s underlying aggregation; it is not a field any current MDL carries.
Additive— a sum-of-parts equals the whole (SUM, non-distinctCOUNT).NonAdditive— parts do not sum to the whole (AVG,MIN,MAX, ratios,COUNT(DISTINCT …)).SemiAdditive— additive across some dimensions but not others (classically, not across time — balances, inventory levels). Forward-declared: warble classifies nothing itself — a producer reports the additivity it inferred — and the expression heuristics seen so far only distinguish additive vs non-additive, so this variant is defined but not yet observed.
Variants§
Trait Implementations§
Source§impl Clone for Additivity
impl Clone for Additivity
impl Copy for Additivity
Source§impl Debug for Additivity
impl Debug for Additivity
impl Eq for Additivity
Source§impl PartialEq for Additivity
impl PartialEq for Additivity
impl StructuralPartialEq for Additivity
Auto Trait Implementations§
impl Freeze for Additivity
impl RefUnwindSafe for Additivity
impl Send for Additivity
impl Sync for Additivity
impl Unpin for Additivity
impl UnsafeUnpin for Additivity
impl UnwindSafe for Additivity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.