pub struct ParsedPatch {
pub operation: PatchOperation,
pub file_path: String,
pub raw_patch: String,
}Expand description
Parsed patch structure extracted from ApplyPatchArgs
This represents the structured view of Codex’s patch format after parsing.
Fields§
§operation: PatchOperationOperation type (Add or Update)
file_path: StringTarget file path
raw_patch: StringOriginal raw patch for preservation
Trait Implementations§
Source§impl Clone for ParsedPatch
impl Clone for ParsedPatch
Source§fn clone(&self) -> ParsedPatch
fn clone(&self) -> ParsedPatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedPatch
impl Debug for ParsedPatch
Source§impl PartialEq for ParsedPatch
impl PartialEq for ParsedPatch
impl Eq for ParsedPatch
impl StructuralPartialEq for ParsedPatch
Auto Trait Implementations§
impl Freeze for ParsedPatch
impl RefUnwindSafe for ParsedPatch
impl Send for ParsedPatch
impl Sync for ParsedPatch
impl Unpin for ParsedPatch
impl UnwindSafe for ParsedPatch
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