pub struct ApplyPatchArgs {
pub patch: String,
pub hunks: Vec<Hunk>,
}Expand description
Both the raw PATCH argument to apply_patch as well as the PATCH argument
parsed into hunks.
Fields§
§patch: String§hunks: Vec<Hunk>Trait Implementations§
Source§impl Debug for ApplyPatchArgs
impl Debug for ApplyPatchArgs
Source§impl PartialEq for ApplyPatchArgs
impl PartialEq for ApplyPatchArgs
impl StructuralPartialEq for ApplyPatchArgs
Auto Trait Implementations§
impl Freeze for ApplyPatchArgs
impl RefUnwindSafe for ApplyPatchArgs
impl Send for ApplyPatchArgs
impl Sync for ApplyPatchArgs
impl Unpin for ApplyPatchArgs
impl UnwindSafe for ApplyPatchArgs
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