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 · Source§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
Source§impl PartialEq for ApplyPatchUpdateFileOperation
impl PartialEq for ApplyPatchUpdateFileOperation
Source§fn eq(&self, other: &ApplyPatchUpdateFileOperation) -> bool
fn eq(&self, other: &ApplyPatchUpdateFileOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.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§
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