pub struct FileEntry {
pub path: PathBuf,
pub old_path: Option<PathBuf>,
pub display_name: String,
pub status: FileStatus,
pub insertions: usize,
pub deletions: usize,
pub binary: bool,
}Expand description
A file entry in a multi-file diff
Fields§
§path: PathBuf§old_path: Option<PathBuf>§display_name: String§status: FileStatus§insertions: usize§deletions: usize§binary: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
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