Struct ocsf_codegen::events::EventDef
source · pub struct EventDef {
pub uid: Option<u32>,
pub class_name: Option<String>,
pub name: String,
pub description: String,
pub category: Option<String>,
pub attributes: HashMap<String, EventAttribute>,
pub associations: Option<Map<String, Value>>,
pub profiles: Option<Vec<String>>,
}Fields§
§uid: Option<u32>§class_name: Option<String>§name: String§description: String§category: Option<String>§attributes: HashMap<String, EventAttribute>§associations: Option<Map<String, Value>>§profiles: Option<Vec<String>>Trait Implementations§
source§impl<'de> Deserialize<'de> for EventDef
impl<'de> Deserialize<'de> for EventDef
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more