openai_struct/models/eval_list.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 EvalList : An object representing a list of evals.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct EvalList {
18 /// An array of eval objects.
19 #[serde(rename = "data")]
20 pub data: Vec<crate::models::Eval>,
21 /// The identifier of the first eval in the data array.
22 #[serde(rename = "first_id")]
23 pub first_id: String,
24 /// Indicates whether there are more evals available.
25 #[serde(rename = "has_more")]
26 pub has_more: bool,
27 /// The identifier of the last eval in the data array.
28 #[serde(rename = "last_id")]
29 pub last_id: String,
30 /// The type of this object. It is always set to \"list\".
31 #[serde(rename = "object")]
32 pub object: String,
33}