Struct prometheus_parser::Matching [−][src]
pub struct Matching {
pub op: MatchingOp,
pub labels: Vec<String>,
pub group: Option<MatchingGroup>,
pub span: Option<Span>,
}
Expand description
An operator matching clause
Fields
op: MatchingOp
labels: Vec<String>
A list of labels to which the operator is applied
group: Option<MatchingGroup>
An optional grouping clause for many-to-one and one-to-many vector matches
span: Option<Span>
Implementations
Replaces this Matching’s operator
Clears this Matching’s set of labels
Sets or replaces this Matching’s group clause
Clears this Matching’s group clause
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Matching
impl UnwindSafe for Matching
Blanket Implementations
Mutably borrows from an owned value. Read more