pub enum PayloadIndex {
Integer(BTreeMap<i64, HashSet<String>>),
Float(BTreeMap<OrderedFloat<f64>, HashSet<String>>),
Keyword(HashMap<String, HashSet<String>>),
Bool(HashMap<bool, HashSet<String>>),
Geo(Vec<(String, f64, f64)>),
Text(HashMap<String, HashSet<String>>),
}Expand description
Payload index for efficient filtering
Variants§
Integer(BTreeMap<i64, HashSet<String>>)
Float(BTreeMap<OrderedFloat<f64>, HashSet<String>>)
Keyword(HashMap<String, HashSet<String>>)
Bool(HashMap<bool, HashSet<String>>)
Geo(Vec<(String, f64, f64)>)
Text(HashMap<String, HashSet<String>>)
Implementations§
Trait Implementations§
Source§impl Clone for PayloadIndex
impl Clone for PayloadIndex
Source§fn clone(&self) -> PayloadIndex
fn clone(&self) -> PayloadIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PayloadIndex
impl RefUnwindSafe for PayloadIndex
impl Send for PayloadIndex
impl Sync for PayloadIndex
impl Unpin for PayloadIndex
impl UnwindSafe for PayloadIndex
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