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

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

use crate::bmm3::core::feature::bmm_local::BmmLocal;
use crate::bmm3::core::feature::bmm_result::BmmResult;

/// Closed subtype set of `BMM_WRITABLE_VARIABLE`, dispatched on each payload's `_type`.
///
/// Meta-type for writable variables, including the special variable `Result`.
#[doc(alias = "BMM_WRITABLE_VARIABLE")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmWritableVariable {
    /// The `BMM_LOCAL` subtype of `BMM_WRITABLE_VARIABLE`.
    BmmLocal(BmmLocal),
    /// The `BMM_RESULT` subtype of `BMM_WRITABLE_VARIABLE`.
    BmmResult(BmmResult),
}