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};
/// The Audit Log Stream currently configured for the organization, if any.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AuditLogConfigurationLogStream {
    /// Unique identifier of the Audit Log Stream.
    pub id: String,
    /// The type of the Audit Log Stream destination.
    #[serde(rename = "type")]
    pub type_: AuditLogConfigurationLogStreamType,
    /// The current state of the Audit Log Stream.
    pub state: AuditLogConfigurationLogStreamState,
    /// ISO-8601 timestamp of when the last event was successfully synced, or null if no events have been synced.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub last_synced_at: Option<String>,
    /// An ISO 8601 timestamp.
    pub created_at: String,
}