pub struct ToolChoiceApplyPatch {
pub type_: String,
}Expand description
Forces the model to call the apply_patch tool when executing a tool call.
Fields§
§type_: StringThe tool to call. Always apply_patch.
Trait Implementations§
Source§impl Clone for ToolChoiceApplyPatch
impl Clone for ToolChoiceApplyPatch
Source§fn clone(&self) -> ToolChoiceApplyPatch
fn clone(&self) -> ToolChoiceApplyPatch
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 ToolChoiceApplyPatch
impl Debug for ToolChoiceApplyPatch
Source§impl<'de> Deserialize<'de> for ToolChoiceApplyPatch
impl<'de> Deserialize<'de> for ToolChoiceApplyPatch
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 ToolChoiceApplyPatch
impl RefUnwindSafe for ToolChoiceApplyPatch
impl Send for ToolChoiceApplyPatch
impl Sync for ToolChoiceApplyPatch
impl Unpin for ToolChoiceApplyPatch
impl UnsafeUnpin for ToolChoiceApplyPatch
impl UnwindSafe for ToolChoiceApplyPatch
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