openai_struct/models/
audit_log_actor_session.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 AuditLogActorSession : The session in which the audit logged action was performed.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16/// # on openapi.yaml
17///
18/// ```yaml
19/// AuditLogActorSession:
20///   type: object
21///   description: The session in which the audit logged action was performed.
22///   properties:
23///     user:
24///       $ref: "#/components/schemas/AuditLogActorUser"
25///     ip_address:
26///       type: string
27///       description: The IP address from which the action was performed.
28/// ```
29#[derive(Debug, Serialize, Deserialize)]
30pub struct AuditLogActorSession {
31    /// The IP address from which the action was performed.
32    #[serde(rename = "ip_address")]
33    pub ip_address: Option<String>,
34    #[serde(rename = "user")]
35    pub user: Option<crate::models::AuditLogActorUser>,
36}