pub struct OperationUpdateFile {
pub diff: String,
pub path: String,
pub type_: String,
}Expand description
Instruction describing how to update a file via the apply_patch tool.
Fields§
§diff: StringDiff to apply.
path: StringPath of the file to update.
type_: StringUpdate an existing file with the provided diff.
Trait Implementations§
Source§impl Clone for OperationUpdateFile
impl Clone for OperationUpdateFile
Source§fn clone(&self) -> OperationUpdateFile
fn clone(&self) -> OperationUpdateFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OperationUpdateFile
impl Debug for OperationUpdateFile
Source§impl<'de> Deserialize<'de> for OperationUpdateFile
impl<'de> Deserialize<'de> for OperationUpdateFile
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 OperationUpdateFile
impl RefUnwindSafe for OperationUpdateFile
impl Send for OperationUpdateFile
impl Sync for OperationUpdateFile
impl Unpin for OperationUpdateFile
impl UnsafeUnpin for OperationUpdateFile
impl UnwindSafe for OperationUpdateFile
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