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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @generated by openehr-codegen from BMM (`EL_LITERAL`) — DO NOT EDIT.

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

use crate::bmm3::core::literal_value::bmm_literal_value::BmmLiteralValue;

/// Literal value of any type known in the model, including primitive types. Defined via a `BMM_LITERAL_VALUE`.
#[doc(alias = "EL_LITERAL")]
#[derive(Debug, Clone, PartialEq)]
pub struct ElLiteral {
    /// The reference item from which the value of this node can be computed.
    pub value: BmmLiteralValue,
}