pub struct ContextQuery {
pub targets: Vec<String>,
pub token_budget: usize,
pub depth: u32,
pub filters: ContextFilters,
pub format: OutputFormat,
pub project_root: Option<PathBuf>,
}Expand description
A request for assembled context. [GOAL-4.1, 4.6]
Fields§
§targets: Vec<String>GOAL-4.6: One or more target node IDs whose context we are assembling. At least one target must be specified.
token_budget: usizeMaximum token budget for the assembled output. [GOAL-4.2]
depth: u32Maximum traversal depth (hops from any target). [GOAL-4.7] Default: 2.
filters: ContextFiltersOptional filters to narrow candidates. [GOAL-4.8]
format: OutputFormatOutput format. [GOAL-4.9]
project_root: Option<PathBuf>Project root for source code loading. [GOAL-4.1b]
Trait Implementations§
Source§impl Clone for ContextQuery
impl Clone for ContextQuery
Source§fn clone(&self) -> ContextQuery
fn clone(&self) -> ContextQuery
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 ContextQuery
impl Debug for ContextQuery
Auto Trait Implementations§
impl Freeze for ContextQuery
impl RefUnwindSafe for ContextQuery
impl Send for ContextQuery
impl Sync for ContextQuery
impl Unpin for ContextQuery
impl UnsafeUnpin for ContextQuery
impl UnwindSafe for ContextQuery
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