pub struct ApplyPatchUpdateFileOperation {
pub path: String,
pub diff: String,
}Available on crate feature
response-types only.Expand description
Instruction describing how to update a file via the apply_patch tool.
Fields§
§path: StringPath of the file to update.
diff: StringDiff to apply.
Trait Implementations§
Source§impl Clone for ApplyPatchUpdateFileOperation
impl Clone for ApplyPatchUpdateFileOperation
Source§fn clone(&self) -> ApplyPatchUpdateFileOperation
fn clone(&self) -> ApplyPatchUpdateFileOperation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ApplyPatchUpdateFileOperation
impl<'de> Deserialize<'de> for ApplyPatchUpdateFileOperation
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
impl StructuralPartialEq for ApplyPatchUpdateFileOperation
Auto Trait Implementations§
impl Freeze for ApplyPatchUpdateFileOperation
impl RefUnwindSafe for ApplyPatchUpdateFileOperation
impl Send for ApplyPatchUpdateFileOperation
impl Sync for ApplyPatchUpdateFileOperation
impl Unpin for ApplyPatchUpdateFileOperation
impl UnwindSafe for ApplyPatchUpdateFileOperation
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)