#[non_exhaustive]pub enum FilterOp {
Eq,
Neq,
Re,
Nre,
CmpEq,
Gt,
Gte,
Lt,
Lte,
}Expand description
Label-filter comparison operators. String matchers (=, !=, =~,
!~) and ordered comparisons (==, >, >=, <, <=) share this
enum; the parser rejects operator/value combinations that don’t fit
(e.g. =~ against a number).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for FilterOp
impl Eq for FilterOp
impl StructuralPartialEq for FilterOp
Auto Trait Implementations§
impl Freeze for FilterOp
impl RefUnwindSafe for FilterOp
impl Send for FilterOp
impl Sync for FilterOp
impl Unpin for FilterOp
impl UnsafeUnpin for FilterOp
impl UnwindSafe for FilterOp
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