pub struct PreparedQuery {
pub fts_match: String,
pub tokens: Vec<String>,
pub used_or: bool,
}Expand description
Prepared FTS query plus the significant tokens used for ranking boosts.
Fields§
§fts_match: StringEscaped FTS5 MATCH expression (quoted tokens, optional OR).
tokens: Vec<String>Lowercase significant tokens (stopwords removed when possible).
used_or: boolTrue when multiple significant tokens were OR-joined for recall.
Trait Implementations§
Source§impl Clone for PreparedQuery
impl Clone for PreparedQuery
Source§fn clone(&self) -> PreparedQuery
fn clone(&self) -> PreparedQuery
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 moreAuto Trait Implementations§
impl Freeze for PreparedQuery
impl RefUnwindSafe for PreparedQuery
impl Send for PreparedQuery
impl Sync for PreparedQuery
impl Unpin for PreparedQuery
impl UnsafeUnpin for PreparedQuery
impl UnwindSafe for PreparedQuery
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