openehr-am 0.0.78

openEHR AM Archetype Model, generated from BMM: generations v1_4 (AM 1.4.0, ADL 1.4) and v2_4 (AM 2.4.0, ADL 2; current)
Documentation
// @generated by openehr-codegen from BMM (`BMM_ASSIGNMENT`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Vernum Projecten B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v2_4::bmm3::expression::el_expression::ElExpression;
use crate::v2_4::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,
}