pub enum ScanPred {
Eq(Vec<u8>),
Cmp(ScanCmp, f64),
}Expand description
A single predicate against the value paired with a key inside an
enclosing object. Drives find_enclosing_objects_mixed.
Variants§
Eq(Vec<u8>)
Bytewise equality against a canonical JSON literal (int/string/
bool/null — same shape as find_enclosing_objects_eq_multi).
Cmp(ScanCmp, f64)
Numeric comparison: value parsed as f64 then op applied vs
threshold. Non-numeric values do not match.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanPred
impl RefUnwindSafe for ScanPred
impl Send for ScanPred
impl Sync for ScanPred
impl Unpin for ScanPred
impl UnsafeUnpin for ScanPred
impl UnwindSafe for ScanPred
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