pub enum ValueFilter<'a> {
Range {
field: &'a [u8],
min: &'a [u8],
max: &'a [u8],
},
Eq {
field: &'a [u8],
value: &'a [u8],
},
}Expand description
One FILTER predicate: which stored value field it reads, and the
test on it — the wire’s RANGE / EQ shapes, in-process.
The bounds are raw bytes and are coerced with the type the field was DECLARED as, so a numeric range compares numerically rather than lexicographically.
Variants§
Trait Implementations§
Source§impl<'a> Clone for ValueFilter<'a>
impl<'a> Clone for ValueFilter<'a>
Source§fn clone(&self) -> ValueFilter<'a>
fn clone(&self) -> ValueFilter<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ValueFilter<'a>
Auto Trait Implementations§
impl<'a> Freeze for ValueFilter<'a>
impl<'a> RefUnwindSafe for ValueFilter<'a>
impl<'a> Send for ValueFilter<'a>
impl<'a> Sync for ValueFilter<'a>
impl<'a> Unpin for ValueFilter<'a>
impl<'a> UnsafeUnpin for ValueFilter<'a>
impl<'a> UnwindSafe for ValueFilter<'a>
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