pub enum MatchMode {
Exact,
Prefix,
Deinflect,
Fuzzy,
}Expand description
The search mode for a query.
Variants§
Exact
Exact match only.
Prefix
Prefix (starts-with) search.
Deinflect
Exact match with deinflection fallback.
Fuzzy
Fuzzy (approximate) match.
Trait Implementations§
impl StructuralPartialEq for MatchMode
Auto Trait Implementations§
impl Freeze for MatchMode
impl RefUnwindSafe for MatchMode
impl Send for MatchMode
impl Sync for MatchMode
impl Unpin for MatchMode
impl UnsafeUnpin for MatchMode
impl UnwindSafe for MatchMode
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