pub struct ResponseApplyPatchToolCall {
pub id: String,
pub call_id: String,
pub operation: Operation,
pub status: ResponseApplyPatchToolCallStatus,
pub type_: String,
pub created_by: Option<String>,
}Expand description
A tool call that applies file diffs by creating, deleting, or updating files.
Fields§
§id: StringThe unique ID of the apply patch tool call.
call_id: StringThe unique ID of the apply patch tool call generated by the model.
operation: OperationOne of the create_file, delete_file, or update_file operations applied via
status: ResponseApplyPatchToolCallStatusThe status of the apply patch tool call. One of in_progress or completed.
type_: StringThe type of the item. Always apply_patch_call.
created_by: Option<String>The ID of the entity that created this tool call.
Trait Implementations§
Source§impl Clone for ResponseApplyPatchToolCall
impl Clone for ResponseApplyPatchToolCall
Source§fn clone(&self) -> ResponseApplyPatchToolCall
fn clone(&self) -> ResponseApplyPatchToolCall
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 ResponseApplyPatchToolCall
impl Debug for ResponseApplyPatchToolCall
Source§impl<'de> Deserialize<'de> for ResponseApplyPatchToolCall
impl<'de> Deserialize<'de> for ResponseApplyPatchToolCall
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 ResponseApplyPatchToolCall
impl RefUnwindSafe for ResponseApplyPatchToolCall
impl Send for ResponseApplyPatchToolCall
impl Sync for ResponseApplyPatchToolCall
impl Unpin for ResponseApplyPatchToolCall
impl UnsafeUnpin for ResponseApplyPatchToolCall
impl UnwindSafe for ResponseApplyPatchToolCall
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