openai_struct/models/
audit_log_actor_api_key.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 AuditLogActorApiKey : The API Key used to perform the audit logged action.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct AuditLogActorApiKey {
18    /// The tracking id of the API key.
19    #[serde(rename = "id")]
20    pub id: Option<String>,
21    #[serde(rename = "service_account")]
22    pub service_account: Option<crate::models::AuditLogActorServiceAccount>,
23    /// The type of API key. Can be either `user` or `service_account`.
24    #[serde(rename = "type")]
25    pub _type: Option<String>,
26    #[serde(rename = "user")]
27    pub user: Option<crate::models::AuditLogActorUser>,
28}