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 (`ASSIGNMENT`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Vernum Projecten B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v2_4::beom::core::expr_value::ExprValue;
use openehr_lang::v1_1::beom::core::variable_declaration::VariableDeclaration;

/// Meta-type representing the assignment statement, which associates a named variable with an expression, and produces no value.
#[doc(alias = "ASSIGNMENT")]
#[derive(Debug, Clone, PartialEq)]
pub struct Assignment {
    /// The target variable on the notional left-hand side of this assignment.
    pub target: VariableDeclaration,
    /// Source right hand side) of the assignment.
    pub source: ExprValue,
}