pub enum GroupingAction {
By,
Without,
}Expand description
The action for aggregation grouping: by or without.
GroupingAction::By: Group results by the specified labels onlyGroupingAction::Without: Group results by all labels except those specified
Variants§
By
Group by specific labels, dropping all others.
Example: sum by (job) (http_requests) groups by job label only.
Without
Drop specific labels, keeping all others.
Example: sum without (instance) (http_requests) keeps all labels except instance.
Trait Implementations§
Source§impl Clone for GroupingAction
impl Clone for GroupingAction
Source§fn clone(&self) -> GroupingAction
fn clone(&self) -> GroupingAction
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 GroupingAction
impl Debug for GroupingAction
Source§impl Display for GroupingAction
impl Display for GroupingAction
Source§impl PartialEq for GroupingAction
impl PartialEq for GroupingAction
impl Eq for GroupingAction
impl StructuralPartialEq for GroupingAction
Auto Trait Implementations§
impl Freeze for GroupingAction
impl RefUnwindSafe for GroupingAction
impl Send for GroupingAction
impl Sync for GroupingAction
impl Unpin for GroupingAction
impl UnwindSafe for GroupingAction
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