pub enum DiffStatus {
Added,
Deleted,
Modified,
Renamed,
Copied,
TypeChanged,
Unmerged,
}Expand description
The kind of change between two sides of a diff.
Variants§
Added
File was added.
Deleted
File was deleted.
Modified
File was modified (content or mode change).
Renamed
File was renamed (with optional content change).
Copied
File was copied.
TypeChanged
File type changed (e.g. regular → symlink).
Unmerged
Unmerged (conflict).
Implementations§
Trait Implementations§
Source§impl Clone for DiffStatus
impl Clone for DiffStatus
Source§fn clone(&self) -> DiffStatus
fn clone(&self) -> DiffStatus
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 DiffStatus
impl Debug for DiffStatus
Source§impl PartialEq for DiffStatus
impl PartialEq for DiffStatus
impl Copy for DiffStatus
impl Eq for DiffStatus
impl StructuralPartialEq for DiffStatus
Auto Trait Implementations§
impl Freeze for DiffStatus
impl RefUnwindSafe for DiffStatus
impl Send for DiffStatus
impl Sync for DiffStatus
impl Unpin for DiffStatus
impl UnsafeUnpin for DiffStatus
impl UnwindSafe for DiffStatus
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