openai_struct/models/
vector_store_expiration_after.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 VectorStoreExpirationAfter : The expiration policy for a vector store.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct VectorStoreExpirationAfter {
18    /// Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`.
19    #[serde(rename = "anchor")]
20    pub anchor: String,
21    /// The number of days after the anchor time that the vector store will expire.
22    #[serde(rename = "days")]
23    pub days: i32,
24}