pub struct SearchOptions {
pub case_sensitive: bool,
pub whole_words: bool,
pub max_results: usize,
pub use_regex: bool,
pub scope: SearchScope,
}Expand description
Search options for document queries
Fields§
§case_sensitive: boolWhether to perform case-sensitive search
whole_words: boolWhether to match whole words only
max_results: usizeMaximum number of results to return (0 = unlimited)
use_regex: boolWhether to use regular expressions
scope: SearchScopeSearch scope (e.g., specific sections or lines)
Trait Implementations§
Source§impl Clone for SearchOptions
impl Clone for SearchOptions
Source§fn clone(&self) -> SearchOptions
fn clone(&self) -> SearchOptions
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 Debug for SearchOptions
impl Debug for SearchOptions
Source§impl Default for SearchOptions
impl Default for SearchOptions
Source§impl PartialEq for SearchOptions
impl PartialEq for SearchOptions
impl Eq for SearchOptions
impl StructuralPartialEq for SearchOptions
Auto Trait Implementations§
impl Freeze for SearchOptions
impl RefUnwindSafe for SearchOptions
impl Send for SearchOptions
impl Sync for SearchOptions
impl Unpin for SearchOptions
impl UnwindSafe for SearchOptions
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