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