pub struct RiskSummary {
pub total_files: usize,
pub total_additions: u32,
pub total_deletions: u32,
pub risk_level: RiskLevel,
}Expand description
Summary statistics for a diff.
Fields§
§total_files: usizeNumber of files changed.
total_additions: u32Total lines added across all files.
total_deletions: u32Total lines deleted across all files.
risk_level: RiskLevelOverall risk classification.
Trait Implementations§
Source§impl Clone for RiskSummary
impl Clone for RiskSummary
Source§fn clone(&self) -> RiskSummary
fn clone(&self) -> RiskSummary
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 RiskSummary
impl Debug for RiskSummary
Auto Trait Implementations§
impl Freeze for RiskSummary
impl RefUnwindSafe for RiskSummary
impl Send for RiskSummary
impl Sync for RiskSummary
impl Unpin for RiskSummary
impl UnsafeUnpin for RiskSummary
impl UnwindSafe for RiskSummary
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