pub struct SearchQuery {
pub text: String,
pub mem_type: Option<String>,
pub project: Option<String>,
pub scope: Option<Scope>,
pub match_any: bool,
}Expand description
A search request: free text plus optional exact filters and match mode.
Fields§
§text: String§mem_type: Option<String>§project: Option<String>§scope: Option<Scope>§match_any: boolfalse = AND between tokens (default); true = OR (broaden recall).
Trait Implementations§
Source§impl Debug for SearchQuery
impl Debug for SearchQuery
Source§impl Default for SearchQuery
impl Default for SearchQuery
Source§fn default() -> SearchQuery
fn default() -> SearchQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SearchQuery
impl RefUnwindSafe for SearchQuery
impl Send for SearchQuery
impl Sync for SearchQuery
impl Unpin for SearchQuery
impl UnsafeUnpin for SearchQuery
impl UnwindSafe for SearchQuery
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