openai_struct/models/batch_errors_data.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#[derive(Debug, Serialize, Deserialize)]
15pub struct BatchErrorsData {
16 /// An error code identifying the error type.
17 #[serde(rename = "code")]
18 pub code: Option<String>,
19 /// The line number of the input file where the error occurred, if applicable.
20 #[serde(rename = "line")]
21 pub line: Option<i32>,
22 /// A human-readable message providing more details about the error.
23 #[serde(rename = "message")]
24 pub message: Option<String>,
25 /// The name of the parameter that caused the error, if applicable.
26 #[serde(rename = "param")]
27 pub param: Option<String>,
28}