pub struct StructuralSummaryResult {
pub summary: String,
pub tokens_original: u32,
pub tokens_summary: u32,
pub functions_count: usize,
pub types_count: usize,
pub call_edges: usize,
pub compression_ratio: f64,
}Expand description
Result of structural summary extraction.
Fields§
§summary: StringThe compact structural summary text.
tokens_original: u32Token count of the original source.
tokens_summary: u32Token count of the summary.
functions_count: usizeNumber of functions extracted.
types_count: usizeNumber of types/classes extracted.
call_edges: usizeNumber of call edges discovered.
compression_ratio: f64Compression ratio (summary_tokens / original_tokens).
Trait Implementations§
Source§impl Clone for StructuralSummaryResult
impl Clone for StructuralSummaryResult
Source§fn clone(&self) -> StructuralSummaryResult
fn clone(&self) -> StructuralSummaryResult
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 moreAuto Trait Implementations§
impl Freeze for StructuralSummaryResult
impl RefUnwindSafe for StructuralSummaryResult
impl Send for StructuralSummaryResult
impl Sync for StructuralSummaryResult
impl Unpin for StructuralSummaryResult
impl UnsafeUnpin for StructuralSummaryResult
impl UnwindSafe for StructuralSummaryResult
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