Struct radicle_surf::diff::Modified
source · pub struct Modified {
pub path: PathBuf,
pub diff: DiffContent,
pub old: DiffFile,
pub new: DiffFile,
}
Expand description
A file that was modified within a Diff
.
Fields§
§path: PathBuf
§diff: DiffContent
§old: DiffFile
§new: DiffFile
Trait Implementations§
impl Eq for Modified
impl StructuralPartialEq for Modified
Auto Trait Implementations§
impl Freeze for Modified
impl RefUnwindSafe for Modified
impl Send for Modified
impl Sync for Modified
impl Unpin for Modified
impl UnwindSafe for Modified
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)