pub enum FieldOp {
Eq(FieldValue),
Gt(FieldValue),
Gte(FieldValue),
Lt(FieldValue),
Lte(FieldValue),
Prefix(Bytes),
In(Vec<FieldValue>),
IsNotNull,
}Expand description
Comparison operator for a field predicate.
Variants§
Eq(FieldValue)
Gt(FieldValue)
Gte(FieldValue)
Lt(FieldValue)
Lte(FieldValue)
Prefix(Bytes)
Byte-prefix match. Only valid for Bytes/VarBytes/Address/Hash fields.
In(Vec<FieldValue>)
Membership test. Field value must be one of the listed values.
IsNotNull
Field is not null.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FieldOp
impl RefUnwindSafe for FieldOp
impl Send for FieldOp
impl Sync for FieldOp
impl Unpin for FieldOp
impl UnsafeUnpin for FieldOp
impl UnwindSafe for FieldOp
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