pub struct GitDiffFile {
pub path: String,
pub hunks: Vec<GitDiffHunk>,
}Expand description
Represents a git diff for a file.
Fields§
§path: StringThe path to the file.
hunks: Vec<GitDiffHunk>The hunks in the diff.
Auto Trait Implementations§
impl Freeze for GitDiffFile
impl RefUnwindSafe for GitDiffFile
impl Send for GitDiffFile
impl Sync for GitDiffFile
impl Unpin for GitDiffFile
impl UnsafeUnpin for GitDiffFile
impl UnwindSafe for GitDiffFile
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