pub struct SearchOptions {
pub use_regex: bool,
pub case_sensitive: bool,
pub use_fuzzy: bool,
pub scopes: Vec<String>,
}Expand description
Options controlling search and filtering behavior.
This struct unifies the parameters used by both CLI and GUI clients for consistent search semantics across surfaces.
Fields§
§use_regex: boolUse regular expression matching (default: false, use substring).
case_sensitive: boolCase-sensitive search (default: false, case-insensitive).
use_fuzzy: boolUse fuzzy matching (default: false, use substring).
scopes: Vec<String>Scope filter tokens (default: empty, no scope filter).
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§fn default() -> SearchOptions
fn default() -> SearchOptions
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.