Struct promql::LabelMatch
source · pub struct LabelMatch {
pub name: String,
pub op: LabelMatchOp,
pub value: Vec<u8>,
}
Expand description
Single label filter.
Fields§
§name: String
§op: LabelMatchOp
§value: Vec<u8>
Trait Implementations§
source§impl Debug for LabelMatch
impl Debug for LabelMatch
source§impl PartialEq for LabelMatch
impl PartialEq for LabelMatch
source§fn eq(&self, other: &LabelMatch) -> bool
fn eq(&self, other: &LabelMatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LabelMatch
Auto Trait Implementations§
impl RefUnwindSafe for LabelMatch
impl Send for LabelMatch
impl Sync for LabelMatch
impl Unpin for LabelMatch
impl UnwindSafe for LabelMatch
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