pub struct Query {
pub words: Vec<String>,
pub phrases: Vec<String>,
pub excluded: Vec<String>,
}Expand description
A free-text query: words (ranked, any may match), "quoted phrases", and
-excluded words or phrases. Everything is re-quoted for FTS5, so query
syntax in user input is inert.
Fields§
§words: Vec<String>§phrases: Vec<String>§excluded: Vec<String>Implementations§
Trait Implementations§
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin 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