pub struct ChangeSummary {
pub change_type: ChangeType,
pub additions: usize,
pub deletions: usize,
pub modifications: usize,
pub affected_sections: Vec<String>,
pub description: Option<String>,
}Expand description
Summary of changes in a version
Fields§
§change_type: ChangeTypeType of change
additions: usizeNumber of lines/characters added
deletions: usizeNumber of lines/characters removed
modifications: usizeNumber of lines/characters modified
affected_sections: Vec<String>Affected sections/chunks
description: Option<String>Change description
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<'de> Deserialize<'de> for ChangeSummary
impl<'de> Deserialize<'de> for ChangeSummary
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 ChangeSummary
impl RefUnwindSafe for ChangeSummary
impl Send for ChangeSummary
impl Sync for ChangeSummary
impl Unpin 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