pub enum AggregateModifier {
None,
By(Vec<String>),
Without(Vec<String>),
}Expand description
The aggregation modifier can be used to indicate the aggregation operators to use or exclude certain dimensions.
Variants§
None
By(Vec<String>)
The by modifier drops labels that are not listed.
Without(Vec<String>)
The without modifier removes the listed labels from the result vector.
All other labels are preserved.
Implementations§
Trait Implementations§
Source§impl Debug for AggregateModifier
impl Debug for AggregateModifier
Source§impl Default for AggregateModifier
impl Default for AggregateModifier
Source§impl PartialEq for AggregateModifier
impl PartialEq for AggregateModifier
impl StructuralPartialEq for AggregateModifier
Auto Trait Implementations§
impl Freeze for AggregateModifier
impl RefUnwindSafe for AggregateModifier
impl Send for AggregateModifier
impl Sync for AggregateModifier
impl Unpin for AggregateModifier
impl UnwindSafe for AggregateModifier
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