pub enum LabelMatchOp {
Equal,
NotEqual,
RegexMatch,
RegexNotMatch,
}Expand description
Label matching operator.
Used in label matchers to specify how to compare label values.
Variants§
Equal
= - Exact string equality.
NotEqual
!= - String inequality.
RegexMatch
=~ - Regex match.
RegexNotMatch
!~ - Regex not match.
Implementations§
Trait Implementations§
Source§impl Clone for LabelMatchOp
impl Clone for LabelMatchOp
Source§fn clone(&self) -> LabelMatchOp
fn clone(&self) -> LabelMatchOp
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 LabelMatchOp
impl Debug for LabelMatchOp
Source§impl Display for LabelMatchOp
impl Display for LabelMatchOp
Source§impl PartialEq for LabelMatchOp
impl PartialEq for LabelMatchOp
impl Copy for LabelMatchOp
impl Eq for LabelMatchOp
impl StructuralPartialEq for LabelMatchOp
Auto Trait Implementations§
impl Freeze for LabelMatchOp
impl RefUnwindSafe for LabelMatchOp
impl Send for LabelMatchOp
impl Sync for LabelMatchOp
impl Unpin for LabelMatchOp
impl UnwindSafe for LabelMatchOp
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