pub struct ApplyPatchTool {
pub type_: String,
}Expand description
Allows the assistant to create, delete, or update files using unified diffs.
Fields§
§type_: StringThe type of the tool. Always apply_patch.
Trait Implementations§
Source§impl Clone for ApplyPatchTool
impl Clone for ApplyPatchTool
Source§fn clone(&self) -> ApplyPatchTool
fn clone(&self) -> ApplyPatchTool
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 ApplyPatchTool
impl Debug for ApplyPatchTool
Source§impl<'de> Deserialize<'de> for ApplyPatchTool
impl<'de> Deserialize<'de> for ApplyPatchTool
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 ApplyPatchTool
impl RefUnwindSafe for ApplyPatchTool
impl Send for ApplyPatchTool
impl Sync for ApplyPatchTool
impl Unpin for ApplyPatchTool
impl UnsafeUnpin for ApplyPatchTool
impl UnwindSafe for ApplyPatchTool
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