openai_struct/models/assistant_tools_code.rs
1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11#[allow(unused_imports)]
12use serde_json::Value;
13
14/// # on openapi.yaml
15///
16/// ```yaml
17/// AssistantToolsCode:
18/// type: object
19/// title: Code interpreter tool
20/// properties:
21/// type:
22/// type: string
23/// description: "The type of tool being defined: `code_interpreter`"
24/// enum:
25/// - code_interpreter
26/// x-stainless-const: true
27/// required:
28/// - type
29/// ```
30#[derive(Debug, Serialize, Deserialize)]
31pub struct AssistantToolsCode {
32 /// The type of tool being defined: `code_interpreter`
33 #[serde(rename = "type")]
34 pub _type: String,
35}