workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 AuditLogSchema {
    /// The metadata schema for the actor.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub actor: Option<AuditLogSchemaActor>,
    /// The list of targets for the schema.
    pub targets: Vec<AuditLogSchemaTarget>,
    /// Optional JSON schema for event metadata.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub metadata: Option<std::collections::HashMap<String, serde_json::Value>>,
}