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 (`P_BMM_CONSTANT`) — DO NOT EDIT.

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

/// Persistent form of a BMM constant, i.e. a named, typed literal value defined on a class.
#[doc(alias = "P_BMM_CONSTANT")]
#[derive(Debug, Clone, PartialEq)]
pub struct PBmmConstant {
    // inherited: P_BMM_MODEL_ELEMENT
    /// Optional documentation of this element.
    pub documentation: Option<String>,
    /// Name of this constant within its class. Persisted attribute.
    pub name: String,
    /// Type name of this constant, as a simple class name. Persisted attribute.
    pub r#type: String,
    /// The literal value of this constant, in its persisted (serialised) form. Persisted attribute.
    pub value: Option<String>,
}