openai-struct 0.0.4

利用openai的openapi生成的rust结构体
Documentation
/*
 * OpenAI API
 *
 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
 *
 * OpenAPI spec pub version: 2.3.0
 *
 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
 */

/// pub UsageCodeInterpreterSessionsResult : The aggregated code interpreter sessions usage details of the specific time bucket.

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct UsageCodeInterpreterSessionsResult {
    /// The number of code interpreter sessions.
    #[serde(rename = "num_sessions")]
    pub num_sessions: Option<i32>,
    #[serde(rename = "object")]
    pub object: String,
    /// When `group_by=project_id`, this field provides the project ID of the grouped usage result.
    #[serde(rename = "project_id")]
    pub project_id: Option<String>,
}