pub enum ChangeStatus {
Added,
Modified,
Deleted,
Renamed {
from: String,
},
}Expand description
Status of a file change within a commit.
§Examples
use argus_gitpulse::mining::ChangeStatus;
let status = ChangeStatus::Added;
assert_eq!(format!("{status:?}"), "Added");Variants§
Added
New file.
Modified
Existing file modified.
Deleted
File removed.
Renamed
File renamed from another path.
Trait Implementations§
Source§impl Clone for ChangeStatus
impl Clone for ChangeStatus
Source§fn clone(&self) -> ChangeStatus
fn clone(&self) -> ChangeStatus
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 ChangeStatus
impl Debug for ChangeStatus
Source§impl PartialEq for ChangeStatus
impl PartialEq for ChangeStatus
impl StructuralPartialEq for ChangeStatus
Auto Trait Implementations§
impl Freeze for ChangeStatus
impl RefUnwindSafe for ChangeStatus
impl Send for ChangeStatus
impl Sync for ChangeStatus
impl Unpin for ChangeStatus
impl UnsafeUnpin for ChangeStatus
impl UnwindSafe for ChangeStatus
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