pub enum ApplyPatchFileChange {
Add {
content: String,
},
Delete,
Update {
unified_diff: String,
move_path: Option<PathBuf>,
new_content: String,
},
}
Variants§
Trait Implementations§
Source§impl Debug for ApplyPatchFileChange
impl Debug for ApplyPatchFileChange
Source§impl PartialEq for ApplyPatchFileChange
impl PartialEq for ApplyPatchFileChange
impl StructuralPartialEq for ApplyPatchFileChange
Auto Trait Implementations§
impl Freeze for ApplyPatchFileChange
impl RefUnwindSafe for ApplyPatchFileChange
impl Send for ApplyPatchFileChange
impl Sync for ApplyPatchFileChange
impl Unpin for ApplyPatchFileChange
impl UnwindSafe for ApplyPatchFileChange
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