openai_struct/models/usage_vector_stores_result.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 UsageVectorStoresResult : The aggregated vector stores usage details of the specific time bucket.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct UsageVectorStoresResult {
18 #[serde(rename = "object")]
19 pub object: String,
20 /// When `group_by=project_id`, this field provides the project ID of the grouped usage result.
21 #[serde(rename = "project_id")]
22 pub project_id: Option<String>,
23 /// The vector stores usage in bytes.
24 #[serde(rename = "usage_bytes")]
25 pub usage_bytes: i32,
26}