pub fn enum_from_value(
paths: &DirPaths,
root_module: &mut Module,
value: Value,
name: String,
) -> Result<ModuleEnumWithU8, OcsfCodegenError>Expand description
Insert a new enum into the target module’s scope
pub fn enum_from_value(
paths: &DirPaths,
root_module: &mut Module,
value: Value,
name: String,
) -> Result<ModuleEnumWithU8, OcsfCodegenError>Insert a new enum into the target module’s scope