pub enum FilterOp {
Eq,
Ne,
Re,
NotRe,
Lt,
Le,
Gt,
Ge,
}Expand description
Operator in a single filter spec.
Variants§
Eq
field=value — exact match.
Ne
field!=value — exact non-match.
Re
field~regex — regex match.
NotRe
field!~regex — regex non-match.
Lt
field<value — less than (numeric if both sides parse as f64, else lex).
Le
field<=value — less-than-or-equal.
Gt
field>value — greater than.
Ge
field>=value — greater-than-or-equal.
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.