pub struct DiffResult {
pub added: Vec<DiffEntry>,
pub removed: Vec<DiffEntry>,
}Expand description
The result of a diff between two commits.
Fields§
§added: Vec<DiffEntry>Triples present in head but not in base.
removed: Vec<DiffEntry>Triples present in base but not in head.
Implementations§
Source§impl DiffResult
impl DiffResult
Trait Implementations§
Source§impl Clone for DiffResult
impl Clone for DiffResult
Source§fn clone(&self) -> DiffResult
fn clone(&self) -> DiffResult
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 DiffResult
impl Debug for DiffResult
Source§impl Default for DiffResult
impl Default for DiffResult
Source§fn default() -> DiffResult
fn default() -> DiffResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnsafeUnpin for DiffResult
impl UnwindSafe for DiffResult
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