pub enum Query {
Eq(Arc<dyn IndexableField + Send + Sync>),
Gt(Arc<dyn IndexableField + Send + Sync>),
Gte(Arc<dyn IndexableField + Send + Sync>),
Lt(Arc<dyn IndexableField + Send + Sync>),
Lte(Arc<dyn IndexableField + Send + Sync>),
And(Vec<Query>),
Or(Vec<Query>),
Not(Box<Query>),
}Expand description
A query against the index
Variants§
Eq(Arc<dyn IndexableField + Send + Sync>)
Gt(Arc<dyn IndexableField + Send + Sync>)
Gte(Arc<dyn IndexableField + Send + Sync>)
Lt(Arc<dyn IndexableField + Send + Sync>)
Lte(Arc<dyn IndexableField + Send + Sync>)
And(Vec<Query>)
Or(Vec<Query>)
Not(Box<Query>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl !RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl !UnwindSafe for Query
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more