Struct prometheus_parser::MatchingGroup [−][src]
pub struct MatchingGroup {
pub op: MatchingGroupOp,
pub labels: Vec<String>,
pub span: Option<Span>,
}
Expand description
A matching clause’s nested grouping clause
Fields
op: MatchingGroupOp
The matching group’s operator type (left or right)
labels: Vec<String>
A list of labels to copy to the opposite side of the group operator, i.e.
group_left(foo) copies the label foo
from the right hand side
span: Option<Span>
Implementations
Replaces this Matching’s operator
Replaces this MatchingGroup’s labels with the given set
Clears this MatchingGroup’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 MatchingGroup
impl Send for MatchingGroup
impl Sync for MatchingGroup
impl Unpin for MatchingGroup
impl UnwindSafe for MatchingGroup
Blanket Implementations
Mutably borrows from an owned value. Read more