pub struct FileStatInput {
pub path_display: String,
pub insertions: usize,
pub deletions: usize,
pub is_binary: bool,
pub is_unmerged: bool,
}Expand description
FileStatInput struct.
Fields§
§path_display: Stringpath_display field.
insertions: usizeinsertions field.
deletions: usizedeletions field.
is_binary: boolis_binary field.
is_unmerged: boolUnmerged (conflicted) path: rendered as name | Unmerged and excluded
from the “N files changed” count (git diffstat_file.is_unmerged).
Trait Implementations§
Source§impl Clone for FileStatInput
impl Clone for FileStatInput
Auto Trait Implementations§
impl Freeze for FileStatInput
impl RefUnwindSafe for FileStatInput
impl Send for FileStatInput
impl Sync for FileStatInput
impl Unpin for FileStatInput
impl UnsafeUnpin for FileStatInput
impl UnwindSafe for FileStatInput
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