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