pub struct ApplyPatchCreateFileOperation {
pub path: String,
pub diff: String,
}Available on crate feature
response-types only.Expand description
Instruction describing how to create a file via the apply_patch tool.
Fields§
§path: StringPath of the file to create.
diff: StringDiff to apply.
Trait Implementations§
Source§impl Clone for ApplyPatchCreateFileOperation
impl Clone for ApplyPatchCreateFileOperation
Source§fn clone(&self) -> ApplyPatchCreateFileOperation
fn clone(&self) -> ApplyPatchCreateFileOperation
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 ApplyPatchCreateFileOperation
impl<'de> Deserialize<'de> for ApplyPatchCreateFileOperation
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 ApplyPatchCreateFileOperation
impl PartialEq for ApplyPatchCreateFileOperation
Source§fn eq(&self, other: &ApplyPatchCreateFileOperation) -> bool
fn eq(&self, other: &ApplyPatchCreateFileOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApplyPatchCreateFileOperation
Auto Trait Implementations§
impl Freeze for ApplyPatchCreateFileOperation
impl RefUnwindSafe for ApplyPatchCreateFileOperation
impl Send for ApplyPatchCreateFileOperation
impl Sync for ApplyPatchCreateFileOperation
impl Unpin for ApplyPatchCreateFileOperation
impl UnwindSafe for ApplyPatchCreateFileOperation
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