FileSummaryReport

Struct FileSummaryReport 

Source
pub struct FileSummaryReport {
Show 34 fields pub file_path: String, pub language: String, pub line_count: usize, pub source_status: String, pub source_error: String, pub parser_kind: String, pub summary_status: String, pub file_purpose: String, pub file_purpose_status: String, pub file_purpose_source: String, pub file_purpose_agent_reviewed: bool, pub content_summary: String, pub package: String, pub docstring: String, pub symbol_count: usize, pub limit: usize, pub total_functions: usize, pub total_methods: usize, pub total_classes: usize, pub total_types: usize, pub total_calls: usize, pub total_imports: usize, pub total_dependencies: usize, pub total_exports: usize, pub truncated: bool, pub functions: Vec<FileSymbolSummary>, pub methods: Vec<FileSymbolSummary>, pub classes: Vec<FileSymbolSummary>, pub types: Vec<FileSymbolSummary>, pub imports: Vec<String>, pub dependencies: Vec<String>, pub exports: Vec<String>, pub calls: Vec<FileCallSummary>, pub coverage: CoverageDigest,
}
Expand description

Structured deterministic intelligence for one indexed file.

Fields§

§file_path: String

Repository-relative file path.

§language: String

Detected language or file family.

§line_count: usize

Source line count when the file can be read.

§source_status: String

Whether source-derived fields came from live source or indexed metadata.

§source_error: String

Error text when live source could not be read.

§parser_kind: String

Parser family that produced the stored content summary.

§summary_status: String

Summary quality status: ok, fallback, or missing.

§file_purpose: String

Durable one-line reason this file exists, if approved or suggested.

§file_purpose_status: String

File-purpose lifecycle status.

§file_purpose_source: String

File-purpose source.

§file_purpose_agent_reviewed: bool

Whether an agent explicitly reviewed or set this purpose.

§content_summary: String

Current one-line content summary from scan and deep index facts.

§package: String

Package, module, or manifest name when indexed.

§docstring: String

File or primary symbol documentation when indexed.

§symbol_count: usize

Total indexed symbols.

§limit: usize

Maximum rows returned per repeated section.

§total_functions: usize

Total indexed functions before limiting.

§total_methods: usize

Total indexed methods before limiting.

§total_classes: usize

Total indexed classes before limiting.

§total_types: usize

Total indexed type-like declarations before limiting.

§total_calls: usize

Total call relationships before limiting.

§total_imports: usize

Total import relationships before limiting.

§total_dependencies: usize

Total manifest dependency relationships before limiting.

§total_exports: usize

Total exported/public symbols before limiting.

§truncated: bool

Whether any repeated section was truncated.

§functions: Vec<FileSymbolSummary>

Indexed functions.

§methods: Vec<FileSymbolSummary>

Indexed methods.

§classes: Vec<FileSymbolSummary>

Indexed classes or class-like types.

§types: Vec<FileSymbolSummary>

Indexed structs, enums, traits, interfaces, and type aliases.

§imports: Vec<String>

Imported modules and include-like dependencies.

§dependencies: Vec<String>

Manifest package dependencies.

§exports: Vec<String>

Exported or publicly visible declarations.

§calls: Vec<FileCallSummary>

Call relationships discovered inside this file.

§coverage: CoverageDigest

Compact current relationship and parse coverage.

Trait Implementations§

Source§

impl Debug for FileSummaryReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for FileSummaryReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,