pub enum FilterOp {
Eq,
Ne,
Lt,
Lte,
Gt,
Gte,
In,
Contains,
StartsWith,
IsNull,
IsNotNull,
EqOrNull,
}Variants§
Eq
Ne
Lt
Lte
Gt
Gte
In
Contains
StartsWith
IsNull
IsNotNull
EqOrNull
(col IS NULL OR col = $1) — for the “nullable column matches
either the bound value or null” pattern that’s otherwise
awkward to express via Any([is_null, eq]) (the latter
double-binds the value when the same caller wants the null-
punning behavior elsewhere). Single-bind, single op.
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