pub struct AssistantToolsFunction {
pub function: FunctionObject,
pub _type: String,
}
Expand description
§on openapi.yaml
AssistantToolsFunction:
type: object
title: Function tool
properties:
type:
type: string
description: "The type of tool being defined: `function`"
enum:
- function
x-stainless-const: true
function:
$ref: "#/components/schemas/FunctionObject"
required:
- type
- function
Fields§
§function: FunctionObject
§_type: String
The type of tool being defined: function
Trait Implementations§
Source§impl Debug for AssistantToolsFunction
impl Debug for AssistantToolsFunction
Source§impl<'de> Deserialize<'de> for AssistantToolsFunction
impl<'de> Deserialize<'de> for AssistantToolsFunction
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 AssistantToolsFunction
impl RefUnwindSafe for AssistantToolsFunction
impl Send for AssistantToolsFunction
impl Sync for AssistantToolsFunction
impl Unpin for AssistantToolsFunction
impl UnwindSafe for AssistantToolsFunction
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