pub struct PatchInput {
pub file_path: String,
pub patch_content: String,
}Expand description
Input for patch operations
Fields§
§file_path: StringPath to the file to patch
patch_content: StringUnified diff patch content
Trait Implementations§
Source§impl Clone for PatchInput
impl Clone for PatchInput
Source§fn clone(&self) -> PatchInput
fn clone(&self) -> PatchInput
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 PatchInput
impl Debug for PatchInput
Source§impl<'de> Deserialize<'de> for PatchInput
impl<'de> Deserialize<'de> for PatchInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PatchInput
impl RefUnwindSafe for PatchInput
impl Send for PatchInput
impl Sync for PatchInput
impl Unpin for PatchInput
impl UnwindSafe for PatchInput
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