pub struct PatchReplayed {
pub path: String,
pub content: Option<String>,
}Expand description
One file the patch adds or updates and the content it leaves there:
None when that cannot be worked out (the file to update cannot be read,
or a hunk is not found in it).
Fields§
§path: StringThe path as the patch names it (a move’s destination for a moved file).
content: Option<String>The whole content the patch leaves in the file.
Trait Implementations§
impl Eq for Replayed
impl StructuralPartialEq for Replayed
Auto Trait Implementations§
impl Forget for Replayed
impl Freeze for Replayed
impl RefUnwindSafe for Replayed
impl Send for Replayed
impl Sync for Replayed
impl Unpin for Replayed
impl UnsafeUnpin for Replayed
impl UnwindSafe for Replayed
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