pub struct ApplyPatchToolCallItemParam {
pub id: Option<String>,
pub call_id: String,
pub status: ApplyPatchCallStatusParam,
pub operation: ApplyPatchOperationParam,
}Available on crate feature
response-types only.Expand description
A tool call representing a request to create, delete, or update files using diff patches.
Fields§
§id: Option<String>The unique ID of the apply patch tool call. Populated when this item is returned via API.
call_id: StringThe unique ID of the apply patch tool call generated by the model.
status: ApplyPatchCallStatusParamThe status of the apply patch tool call. One of in_progress or completed.
operation: ApplyPatchOperationParamThe specific create, delete, or update instruction for the apply_patch tool call.
Trait Implementations§
Source§impl Clone for ApplyPatchToolCallItemParam
impl Clone for ApplyPatchToolCallItemParam
Source§fn clone(&self) -> ApplyPatchToolCallItemParam
fn clone(&self) -> ApplyPatchToolCallItemParam
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 Debug for ApplyPatchToolCallItemParam
impl Debug for ApplyPatchToolCallItemParam
Source§impl<'de> Deserialize<'de> for ApplyPatchToolCallItemParam
impl<'de> Deserialize<'de> for ApplyPatchToolCallItemParam
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 From<ApplyPatchToolCallItemParam> for Item
impl From<ApplyPatchToolCallItemParam> for Item
Source§fn from(call: ApplyPatchToolCallItemParam) -> Self
fn from(call: ApplyPatchToolCallItemParam) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ApplyPatchToolCallItemParam
Auto Trait Implementations§
impl Freeze for ApplyPatchToolCallItemParam
impl RefUnwindSafe for ApplyPatchToolCallItemParam
impl Send for ApplyPatchToolCallItemParam
impl Sync for ApplyPatchToolCallItemParam
impl Unpin for ApplyPatchToolCallItemParam
impl UnwindSafe for ApplyPatchToolCallItemParam
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