openehr-lang 0.0.2

openEHR LANG 1.0.0: BMM/P_BMM object model (generated from BMM) plus a hand-written ODIN instance parser (the `odin` module — deliberately off the codegen path).
Documentation
// @generated by openehr-codegen from BMM (`BMM_STATIC`) — DO NOT EDIT.

//! The openEHR `BMM_STATIC` spec class, generated from the vendored BMM
//! meta-model.

use crate::bmm3::core::feature::bmm_constant::BmmConstant;
use crate::bmm3::core::feature::bmm_singleton::BmmSingleton;

/// Closed subtype set of `BMM_STATIC`, dispatched on each payload's `_type`.
///
/// Meta-type for static (i.e. read-only) properties.
#[doc(alias = "BMM_STATIC")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmStatic {
    /// The `BMM_CONSTANT` subtype of `BMM_STATIC`.
    BmmConstant(BmmConstant),
    /// The `BMM_SINGLETON` subtype of `BMM_STATIC`.
    BmmSingleton(BmmSingleton),
}