ocsf-types 0.2.1

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