workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AuditLogEvent {
    /// Identifier of what happened.
    pub action: String,
    /// ISO-8601 value of when the action occurred.
    pub occurred_at: String,
    /// The entity that performed the action.
    pub actor: AuditLogEventActor,
    /// The resources affected by the action.
    pub targets: Vec<AuditLogEventTarget>,
    /// Additional context about where and how the action occurred.
    pub context: AuditLogEventContext,
    /// Additional data associated with the event or entity.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub metadata: Option<std::collections::HashMap<String, AuditLogEventActorMetadataOneOf>>,
    /// What schema version the event is associated with.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub version: Option<i64>,
}