pub struct SearchOpts {
pub top_k: usize,
pub include_dark: bool,
}Expand description
Options for hybrid search.
Fields§
§top_k: usizeMaximum number of results to return.
include_dark: boolInclude dark nodes in results (for future ACT-R integration).
Trait Implementations§
Source§impl Clone for SearchOpts
impl Clone for SearchOpts
Source§fn clone(&self) -> SearchOpts
fn clone(&self) -> SearchOpts
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 SearchOpts
impl Debug for SearchOpts
Auto Trait Implementations§
impl Freeze for SearchOpts
impl RefUnwindSafe for SearchOpts
impl Send for SearchOpts
impl Sync for SearchOpts
impl Unpin for SearchOpts
impl UnsafeUnpin for SearchOpts
impl UnwindSafe for SearchOpts
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