pub struct LocateOutput {Show 16 fields
pub schema: &'static str,
pub name: String,
pub commit_message: Option<String>,
pub changed_files: Vec<String>,
pub deleted_files: Vec<String>,
pub renamed_files: Vec<RenameEntry>,
pub lockfile_changes: Vec<String>,
pub ignored_changes: Vec<String>,
pub policy_excluded_count: usize,
pub budget_tokens: u32,
pub summary: Summary,
pub item_count: usize,
pub items: Vec<LocateItem>,
pub coverage: Coverage,
pub overflow: Vec<OverflowItem>,
pub overflow_count: usize,
}Fields§
§schema: &'static str§name: String§commit_message: Option<String>§changed_files: Vec<String>§deleted_files: Vec<String>§renamed_files: Vec<RenameEntry>§lockfile_changes: Vec<String>§ignored_changes: Vec<String>§policy_excluded_count: usize§budget_tokens: u32§summary: SummaryBlast-radius counts over the ranked items (#135): distinct files, changed vs context fragments, and how many ranked items (changed or context) are tests.
item_count: usize§items: Vec<LocateItem>§coverage: CoverageWhat the run could NOT see or could not fit (#136).
An agent told honestly where the selection is thin can grep the gap itself; one told nothing has to distrust the whole answer. Emitted only when there is something to report, so a clean run costs no tokens.
overflow: Vec<OverflowItem>Ranked candidates that did not fit budget_tokens, without bodies.
overflow_count: usizeTrue total behind overflow, which is capped at MAX_OVERFLOW_ITEMS.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocateOutput
impl RefUnwindSafe for LocateOutput
impl Send for LocateOutput
impl Sync for LocateOutput
impl Unpin for LocateOutput
impl UnsafeUnpin for LocateOutput
impl UnwindSafe for LocateOutput
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more