ocsf_types/lib.rs
1//! # OCSF Types for Rust
2//! Provids strongly typed Rust structs for the [OCSF](https://schema.ocsf.io/)
3//! The types are generated programmatically from the official OCSF schema.
4//! ## Usage
5//! ```rust
6//! use ocsf_types::AccountChange;
7//! let mut event = AccountChange::default();
8//! event.activity_id = Some(1);
9//! event.class_uid = Some(1001);
10//! event.message = Some("User password changed".to_string());
11//! ```
12//! ## Features
13//! - **Strongly Typed**
14//! - **Serde Integration**
15//! - **Built from Official OCSF Schema**
16#![recursion_limit = "512"]
17pub mod ocsf_generated;
18pub use ocsf_generated::*;