Struct radicle_surf::diff::Copied
source · pub struct Copied {
pub old_path: PathBuf,
pub new_path: PathBuf,
pub old: DiffFile,
pub new: DiffFile,
pub diff: DiffContent,
}
Expand description
A file that was copied within a Diff
.
Fields§
§old_path: PathBuf
The old path to this file, relative to the repository root.
new_path: PathBuf
The new path to this file, relative to the repository root.
old: DiffFile
§new: DiffFile
§diff: DiffContent
Trait Implementations§
impl Eq for Copied
impl StructuralPartialEq for Copied
Auto Trait Implementations§
impl Freeze for Copied
impl RefUnwindSafe for Copied
impl Send for Copied
impl Sync for Copied
impl Unpin for Copied
impl UnwindSafe for Copied
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
)