Struct prometheus_parser::Aggregation [−][src]
pub struct Aggregation {
pub op: AggregationOp,
pub labels: Vec<String>,
pub span: Option<Span>,
}
Expand description
A function aggregation clause.
Not all functions can be aggregated, but this library currently does not attempt to validate this sort of usage.
Fields
op: AggregationOp
labels: Vec<String>
span: Option<Span>
Implementations
Replaces this Aggregation’s operator
Replaces this Aggregation’s labels with the given set
Clear this Matching’s set of labels
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Aggregation
impl Send for Aggregation
impl Sync for Aggregation
impl Unpin for Aggregation
impl UnwindSafe for Aggregation
Blanket Implementations
Mutably borrows from an owned value. Read more