pub struct MappedTransaktion {
pub stammdaten: 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: ValueAll BO4E entities mapped from this transaction’s segment groups. Keys are entity names in camelCase (e.g., “prozessdaten”, “marktlokation”, “messlokation”).
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
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MappedTransaktion
impl Debug for MappedTransaktion
Source§impl<'de> Deserialize<'de> for MappedTransaktion
impl<'de> Deserialize<'de> for MappedTransaktion
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MappedTransaktion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MappedTransaktion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MappedTransaktion
impl Serialize for MappedTransaktion
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MappedTransaktion
impl RefUnwindSafe for MappedTransaktion
impl Send for MappedTransaktion
impl Sync for MappedTransaktion
impl Unpin for MappedTransaktion
impl UnsafeUnpin for MappedTransaktion
impl UnwindSafe for MappedTransaktion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more