pub struct MappedTransaktion {
pub stammdaten: Value,
pub transaktionsdaten: Value,
pub nesting_info: HashMap<String, Vec<usize>>,
}Expand description
Internal engine type for a forward-mapped transaction.
Contains all BO4E entities (including prozessdaten) in stammdaten,
plus nesting distribution info used by the reverse mapper.
Fields§
§stammdaten: ValueThe business objects this transaction is about. Keys are entity names in camelCase (e.g. “marktlokation”, “messlokation”).
transaktionsdaten: ValueMetadata about the transaction itself — the Prozessdaten entity,
split out of stammdaten on the way out and merged back on the way in.
This is the transaktionsdaten half of the BO4E market-communication
shape. It is metadata, not a business object, so it does not belong
among the BOs. Null when a transaction carries no process data.
nesting_info: HashMap<String, Vec<usize>>Nesting distribution info for transaction-level entities.
Maps entity key (camelCase) -> parent rep index for each child element. Used by the reverse mapper to distribute children among parent group reps within a transaction (e.g., SG36->SG40 in PRICAT). Derived from the tree structure during forward mapping; never serialized.
Trait Implementations§
Source§impl Clone for MappedTransaktion
impl Clone for MappedTransaktion
Source§fn clone(&self) -> MappedTransaktion
fn clone(&self) -> MappedTransaktion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more