openai-struct 0.0.4

利用openai的openapi生成的rust结构体
Documentation
/*
 * OpenAI API
 *
 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
 *
 * OpenAPI spec pub version: 2.3.0
 *
 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
 */

/// pub CreateThreadAndRunRequestToolResources : A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct CreateThreadAndRunRequestToolResources {
    #[serde(rename = "code_interpreter")]
    pub code_interpreter: Option<crate::models::CreateAssistantRequestToolResourcesCodeInterpreter>,
    #[serde(rename = "file_search")]
    pub file_search: Option<crate::models::AssistantObjectToolResourcesFileSearch>,
}