pub struct DiffFile {
pub old_path: Option<PathBuf>,
pub new_path: Option<PathBuf>,
pub status: GitChangeKind,
pub rename_score: Option<u8>,
pub hunks: Vec<DiffHunk>,
}Fields§
§old_path: Option<PathBuf>§new_path: Option<PathBuf>§status: GitChangeKind§rename_score: Option<u8>§hunks: Vec<DiffHunk>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffFile
impl<'de> Deserialize<'de> for DiffFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiffFile
impl StructuralPartialEq for DiffFile
Auto Trait Implementations§
impl Freeze for DiffFile
impl RefUnwindSafe for DiffFile
impl Send for DiffFile
impl Sync for DiffFile
impl Unpin for DiffFile
impl UnsafeUnpin for DiffFile
impl UnwindSafe for DiffFile
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