pub enum SessionDiffFileStatus {
Added,
Deleted,
Modified,
Renamed,
}Expand description
How a session’s diff changes one file.
Variants§
Added
The file is new.
Deleted
The file is removed.
Modified
The file’s contents or mode changed.
Renamed
The file moved, possibly with changes.
Trait Implementations§
Source§impl Clone for SessionDiffFileStatus
impl Clone for SessionDiffFileStatus
impl Copy for SessionDiffFileStatus
Source§impl Debug for SessionDiffFileStatus
impl Debug for SessionDiffFileStatus
impl Eq for SessionDiffFileStatus
Source§impl PartialEq for SessionDiffFileStatus
impl PartialEq for SessionDiffFileStatus
impl StructuralPartialEq for SessionDiffFileStatus
Auto Trait Implementations§
impl Forget for SessionDiffFileStatus
impl Freeze for SessionDiffFileStatus
impl Move for SessionDiffFileStatus
impl RefUnwindSafe for SessionDiffFileStatus
impl Send for SessionDiffFileStatus
impl Sync for SessionDiffFileStatus
impl Unpin for SessionDiffFileStatus
impl UnsafeUnpin for SessionDiffFileStatus
impl UnwindSafe for SessionDiffFileStatus
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.