pub struct CodeEvolution {
pub node_id: u64,
pub name: String,
pub file_path: String,
pub total_changes: usize,
pub bugfix_count: usize,
pub author_count: usize,
pub authors: Vec<String>,
pub age_seconds: u64,
pub churn: u64,
pub stability_score: f32,
pub decisions: Vec<HistoricalDecision>,
pub phase: EvolutionPhase,
}Expand description
Evolution summary of a code unit.
Fields§
§node_id: u64Node ID.
name: StringNode name.
file_path: StringFile path.
total_changes: usizeTotal number of changes.
bugfix_count: usizeNumber of bug fixes.
Number of authors who touched this code.
Authors.
age_seconds: u64Age in seconds (from first to latest change).
churn: u64Churn (total lines added + deleted).
stability_score: f32Stability score (from CodeUnit).
decisions: Vec<HistoricalDecision>Key decisions.
phase: EvolutionPhaseEvolution phase.
Trait Implementations§
Source§impl Clone for CodeEvolution
impl Clone for CodeEvolution
Source§fn clone(&self) -> CodeEvolution
fn clone(&self) -> CodeEvolution
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 CodeEvolution
impl Debug for CodeEvolution
Source§impl<'de> Deserialize<'de> for CodeEvolution
impl<'de> Deserialize<'de> for CodeEvolution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CodeEvolution
impl RefUnwindSafe for CodeEvolution
impl Send for CodeEvolution
impl Sync for CodeEvolution
impl Unpin for CodeEvolution
impl UnsafeUnpin for CodeEvolution
impl UnwindSafe for CodeEvolution
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