pub enum LexicalMatchKind {
Term,
Phrase,
Prefix,
Fuzzy {
distance: u32,
},
Phonetic,
}Expand description
Why one analyzed term entered a structured query.
Variants§
Term
The caller supplied this exact term.
Phrase
The term is one member of a phrase.
Prefix
The term expanded from a prefix.
Fuzzy
The term expanded by edit distance.
Phonetic
The term shares the query’s pinned phonetic code.
Trait Implementations§
Source§impl Clone for LexicalMatchKind
impl Clone for LexicalMatchKind
impl Copy for LexicalMatchKind
Source§impl Debug for LexicalMatchKind
impl Debug for LexicalMatchKind
impl Eq for LexicalMatchKind
Source§impl PartialEq for LexicalMatchKind
impl PartialEq for LexicalMatchKind
impl StructuralPartialEq for LexicalMatchKind
Auto Trait Implementations§
impl Freeze for LexicalMatchKind
impl RefUnwindSafe for LexicalMatchKind
impl Send for LexicalMatchKind
impl Sync for LexicalMatchKind
impl Unpin for LexicalMatchKind
impl UnsafeUnpin for LexicalMatchKind
impl UnwindSafe for LexicalMatchKind
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