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