Skip to main content

Module serializer

Module serializer 

Source

Structs§

AccountArgs
Body fields specific to an account entity. The name and path borrow from the caller’s scope and are interned into the strings pool by MemorySerializer::add_account.
CommodityArgs
Body fields specific to a commodity entity.
EntityHeaderArgs
Header fields shared by every add_* entry: identity, parenting, and the two flag bits (is_primary, is_context). Pulled out so each add_* fn signature stays under clippy’s too_many_arguments cap.
MemorySerializer
SplitArgs
Body fields specific to a split entity. account_name borrows from the caller and is interned into the strings pool by MemorySerializer::add_split so a trigger script can read the posting account’s display name via SPLIT-ACCOUNT-NAME.
TransactionArgs
Body fields specific to a transaction entity. Combined with EntityHeaderArgs by MemorySerializer::add_transaction.
TransactionFromArgs
Aggregate args for add_transaction_from: the source Transaction plus the runtime-supplied counters and primary flag the test harness can’t infer from the row.