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: PathBuf
The path to this file, relative to the repository root.
diff: DiffContent
§new: DiffFile
Trait Implementations§
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§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
)