pub struct ChangedFile {
pub path: PathBuf,
pub status: FileStatus,
pub old_path: Option<PathBuf>,
}Expand description
A changed file in git
Fields§
§path: PathBuf§status: FileStatus§old_path: Option<PathBuf>For renamed files, the original path
Trait Implementations§
Source§impl Clone for ChangedFile
impl Clone for ChangedFile
Source§fn clone(&self) -> ChangedFile
fn clone(&self) -> ChangedFile
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 moreAuto Trait Implementations§
impl Freeze for ChangedFile
impl RefUnwindSafe for ChangedFile
impl Send for ChangedFile
impl Sync for ChangedFile
impl Unpin for ChangedFile
impl UnsafeUnpin for ChangedFile
impl UnwindSafe for ChangedFile
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