openai_struct/models/audit_log_actor_user.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 AuditLogActorUser : The user who performed the audit logged action.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16/// # on openapi.yaml
17///
18/// ```yaml
19/// AuditLogActorUser:
20/// type: object
21/// description: The user who performed the audit logged action.
22/// properties:
23/// id:
24/// type: string
25/// description: The user id.
26/// email:
27/// type: string
28/// description: The user email.
29/// ```
30#[derive(Debug, Serialize, Deserialize)]
31pub struct AuditLogActorUser {
32 /// The user email.
33 #[serde(rename = "email")]
34 pub email: Option<String>,
35 /// The user id.
36 #[serde(rename = "id")]
37 pub id: Option<String>,
38}