openai_struct/models/
message_content_text_annotations_file_path_object.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/// pub MessageContentTextAnnotationsFilePathObject : A URL for the file that's generated when the assistant used the `code_interpreter` tool to generate a file.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct MessageContentTextAnnotationsFilePathObject {
18    #[serde(rename = "end_index")]
19    pub end_index: i32,
20    #[serde(rename = "file_path")]
21    pub file_path: crate::models::MessageContentTextAnnotationsFilePathObjectFilePath,
22    #[serde(rename = "start_index")]
23    pub start_index: i32,
24    /// The text in the message content that needs to be replaced.
25    #[serde(rename = "text")]
26    pub text: String,
27    /// Always `file_path`.
28    #[serde(rename = "type")]
29    pub _type: String,
30}