openai_struct/models/batch_request_output.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 BatchRequestOutput : The per-line object of the batch output and error files
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct BatchRequestOutput {
18 /// A developer-provided per-request id that will be used to match outputs to inputs.
19 #[serde(rename = "custom_id")]
20 pub custom_id: Option<String>,
21 #[serde(rename = "error")]
22 pub error: Option<crate::models::BatchRequestOutputError>,
23 #[serde(rename = "id")]
24 pub id: Option<String>,
25 #[serde(rename = "response")]
26 pub response: Option<crate::models::BatchRequestOutputResponse>,
27}