pub struct FileTextFtsQuery<'query> {
pub literal_token: &'query str,
pub path_prefix: Option<&'query str>,
pub limit: usize,
}Expand description
Bounded safe-token request for FTS candidate acceleration.
Fields§
§literal_token: &'query strOne ASCII-alphanumeric token that exact lexical matching will verify.
path_prefix: Option<&'query str>Optional exact path-or-descendant scope.
limit: usizeMaximum candidates returned before reporting overflow.
Trait Implementations§
Source§impl<'query> Clone for FileTextFtsQuery<'query>
impl<'query> Clone for FileTextFtsQuery<'query>
Source§fn clone(&self) -> FileTextFtsQuery<'query>
fn clone(&self) -> FileTextFtsQuery<'query>
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 moreSource§impl<'query> Debug for FileTextFtsQuery<'query>
impl<'query> Debug for FileTextFtsQuery<'query>
Source§impl<'query> PartialEq for FileTextFtsQuery<'query>
impl<'query> PartialEq for FileTextFtsQuery<'query>
impl<'query> Copy for FileTextFtsQuery<'query>
impl<'query> Eq for FileTextFtsQuery<'query>
impl<'query> StructuralPartialEq for FileTextFtsQuery<'query>
Auto Trait Implementations§
impl<'query> Freeze for FileTextFtsQuery<'query>
impl<'query> RefUnwindSafe for FileTextFtsQuery<'query>
impl<'query> Send for FileTextFtsQuery<'query>
impl<'query> Sync for FileTextFtsQuery<'query>
impl<'query> Unpin for FileTextFtsQuery<'query>
impl<'query> UnwindSafe for FileTextFtsQuery<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more