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

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

use crate::bmm3::expression::el_expression::ElExpression;
use crate::bmm3::expression::el_value_generator::ElValueGenerator;

/// Statement type representing an assignment from a value-generating source to a writable entity, i.e. a variable reference or property.
///
/// At the meta-model level, may be understood as an initialisation of an existing meta-model instance.
#[doc(alias = "BMM_ASSIGNMENT")]
#[derive(Debug, Clone, PartialEq)]
pub struct BmmAssignment {
    /// The target variable on the notional left-hand side of this assignment.
    pub target: ElValueGenerator,
    /// Source right hand side) of the assignment.
    pub source: ElExpression,
}