pub struct SpecificApplyPatchParam {
pub type_: SpecificApplyPatchParamType,
}Expand description
Forces the model to call the apply_patch tool when executing a tool call.
JSON schema
{
"title": "Specific apply patch tool choice",
"description": "Forces the model to call the apply_patch tool when executing a tool call.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"description": "The tool to call. Always `apply_patch`.",
"type": "string",
"enum": [
"apply_patch"
],
"x-stainless-const": true
}
}
}Fields§
§type_: SpecificApplyPatchParamTypeThe tool to call. Always apply_patch.
Trait Implementations§
Source§impl Clone for SpecificApplyPatchParam
impl Clone for SpecificApplyPatchParam
Source§fn clone(&self) -> SpecificApplyPatchParam
fn clone(&self) -> SpecificApplyPatchParam
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 SpecificApplyPatchParam
impl Debug for SpecificApplyPatchParam
Source§impl<'de> Deserialize<'de> for SpecificApplyPatchParam
impl<'de> Deserialize<'de> for SpecificApplyPatchParam
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<SpecificApplyPatchParam> for ToolChoiceParam
impl From<SpecificApplyPatchParam> for ToolChoiceParam
Source§fn from(value: SpecificApplyPatchParam) -> Self
fn from(value: SpecificApplyPatchParam) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SpecificApplyPatchParam
impl RefUnwindSafe for SpecificApplyPatchParam
impl Send for SpecificApplyPatchParam
impl Sync for SpecificApplyPatchParam
impl Unpin for SpecificApplyPatchParam
impl UnsafeUnpin for SpecificApplyPatchParam
impl UnwindSafe for SpecificApplyPatchParam
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