#[repr(u8)]pub enum CompareOp {
Eq = 1,
Ne = 2,
Lt = 3,
Lte = 4,
Gt = 5,
Gte = 6,
In = 7,
NotIn = 8,
Contains = 9,
StartsWith = 10,
EndsWith = 11,
}Expand description
Predicate AST
Pure, schema-agnostic representation of query predicates. This layer contains no type validation, index logic, or execution semantics. All interpretation occurs in later passes:
- normalization
- validation (schema-aware)
- planning
- execution
CompareOp
Variants§
Eq = 1
Ne = 2
Lt = 3
Lte = 4
Gt = 5
Gte = 6
In = 7
NotIn = 8
Contains = 9
StartsWith = 10
EndsWith = 11
Implementations§
Trait Implementations§
impl Copy for CompareOp
impl Eq for CompareOp
impl StructuralPartialEq for CompareOp
Auto Trait Implementations§
impl Freeze for CompareOp
impl RefUnwindSafe for CompareOp
impl Send for CompareOp
impl Sync for CompareOp
impl Unpin for CompareOp
impl UnsafeUnpin for CompareOp
impl UnwindSafe for CompareOp
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