Enum promql_parser::label::MatchOp
source · pub enum MatchOp {
Equal,
NotEqual,
Re(Regex),
NotRe(Regex),
}
Variants§
Trait Implementations§
source§impl PartialEq<MatchOp> for MatchOp
impl PartialEq<MatchOp> for MatchOp
impl Eq for MatchOp
Auto Trait Implementations§
impl RefUnwindSafe for MatchOp
impl Send for MatchOp
impl Sync for MatchOp
impl Unpin for MatchOp
impl UnwindSafe for MatchOp
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.