Struct git_checks_core::DiffInfo
source · pub struct DiffInfo {
pub old_mode: String,
pub old_blob: CommitId,
pub new_mode: String,
pub new_blob: CommitId,
pub name: FileName,
pub status: StatusChange,
}
Expand description
Information about a file that changed in a commit.
Fields§
§old_mode: String
The mode of the file in the parent commit.
old_blob: CommitId
The blob object of the file in the parent commit.
new_mode: String
The mode of the file in the current commit.
new_blob: CommitId
The blob object of the file in the current commit.
name: FileName
The name of the file in the current commit.
status: StatusChange
The status mode of the file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiffInfo
impl RefUnwindSafe for DiffInfo
impl Send for DiffInfo
impl Sync for DiffInfo
impl Unpin for DiffInfo
impl UnwindSafe for DiffInfo
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