pub struct FileDiff {
pub file_path: String,
pub old_content: String,
pub new_content: String,
pub lines: Vec<DiffLine>,
pub stats: DiffStats,
}
Fields§
§file_path: String
§old_content: String
§new_content: String
§lines: Vec<DiffLine>
§stats: DiffStats
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileDiff
impl RefUnwindSafe for FileDiff
impl Send for FileDiff
impl Sync for FileDiff
impl Unpin for FileDiff
impl UnwindSafe for FileDiff
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