pub struct ParsedQuery {
pub text: String,
pub filters: Vec<SearchFilter>,
pub limit: usize,
pub scope_prefix: Option<String>,
}Expand description
Parsed query with text and filters.
Fields§
§text: StringMain query text
filters: Vec<SearchFilter>Extracted filters
limit: usizeResult limit
scope_prefix: Option<String>Optional directory scope from scope: (same as ragfs query --scope).
Pre-upgrade indexes are migrated on open; see USER_GUIDE.
Trait Implementations§
Source§impl Clone for ParsedQuery
impl Clone for ParsedQuery
Auto Trait Implementations§
impl Freeze for ParsedQuery
impl RefUnwindSafe for ParsedQuery
impl Send for ParsedQuery
impl Sync for ParsedQuery
impl Unpin for ParsedQuery
impl UnsafeUnpin for ParsedQuery
impl UnwindSafe for ParsedQuery
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