pub struct ChangeSummary {
pub hunk_count: usize,
pub lines_added: usize,
pub lines_removed: usize,
pub validation_passed: bool,
pub validation_messages: Vec<String>,
}Expand description
Summary of changes for a single file
Provides statistics and validation results for a file’s changes.
Fields§
§hunk_count: usizeNumber of hunks in the diff
lines_added: usizeNumber of lines added
lines_removed: usizeNumber of lines removed
validation_passed: boolWhether validation passed for this file
validation_messages: Vec<String>Validation messages (errors, warnings, etc.)
Trait Implementations§
Source§impl Clone for ChangeSummary
impl Clone for ChangeSummary
Source§fn clone(&self) -> ChangeSummary
fn clone(&self) -> ChangeSummary
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 ChangeSummary
impl Debug for ChangeSummary
Source§impl PartialEq for ChangeSummary
impl PartialEq for ChangeSummary
impl Eq for ChangeSummary
impl StructuralPartialEq for ChangeSummary
Auto Trait Implementations§
impl Freeze for ChangeSummary
impl RefUnwindSafe for ChangeSummary
impl Send for ChangeSummary
impl Sync for ChangeSummary
impl Unpin for ChangeSummary
impl UnsafeUnpin for ChangeSummary
impl UnwindSafe for ChangeSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.