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: PathBufThe old path to this file, relative to the repository root.
old: DiffFile§new_path: PathBufThe new path to this file, relative to the repository root.
new: DiffFile§diff: DiffContentTrait Implementations§
source§impl PartialEq for Moved
impl PartialEq for Moved
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)