pub struct File {
pub path: String,
pub status: &'static str,
pub added: Option<u64>,
pub removed: Option<u64>,
}Fields§
§path: String§status: &'static stradded, modified, deleted or type_changed.
added: Option<u64>Lines added and removed; absent for binary files and, in a dry run, for files not yet tracked.
removed: Option<u64>Trait Implementations§
impl Eq for File
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Forget for File
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for File
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