pub struct QueryOpts {
pub limit: usize,
pub depth: u8,
pub max_seeds: usize,
pub budget: TokenBudget,
}Expand description
Query options.
Fields§
§limit: usizeMaximum hits returned (budget permitting).
depth: u8BFS expansion depth from the seeds.
max_seeds: usizeMaximum seed nodes.
budget: TokenBudgetOutput token budget.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryOpts
impl RefUnwindSafe for QueryOpts
impl Send for QueryOpts
impl Sync for QueryOpts
impl Unpin for QueryOpts
impl UnsafeUnpin for QueryOpts
impl UnwindSafe for QueryOpts
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