pub struct ApplyPatchCall {
pub call_id: String,
pub operation: ApplyPatchCallOperation,
pub status: ApplyPatchCallStatus,
pub type_: String,
pub id: Option<String>,
}Expand description
A tool call representing a request to create, delete, or update files using diff patches.
Fields§
§call_id: StringThe unique ID of the apply patch tool call generated by the model.
operation: ApplyPatchCallOperationThe specific create, delete, or update instruction for the apply_patch tool
status: ApplyPatchCallStatusThe status of the apply patch tool call. One of in_progress or completed.
type_: StringThe type of the item. Always apply_patch_call.
id: Option<String>The unique ID of the apply patch tool call.
Trait Implementations§
Source§impl Clone for ApplyPatchCall
impl Clone for ApplyPatchCall
Source§fn clone(&self) -> ApplyPatchCall
fn clone(&self) -> ApplyPatchCall
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 ApplyPatchCall
impl Debug for ApplyPatchCall
Source§impl<'de> Deserialize<'de> for ApplyPatchCall
impl<'de> Deserialize<'de> for ApplyPatchCall
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 ApplyPatchCall
impl RefUnwindSafe for ApplyPatchCall
impl Send for ApplyPatchCall
impl Sync for ApplyPatchCall
impl Unpin for ApplyPatchCall
impl UnsafeUnpin for ApplyPatchCall
impl UnwindSafe for ApplyPatchCall
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