Module report

Module report 

Source
Expand description

eval module contains functions for Ledger file evaluation.

Modules§

query
Provides query of transactions / balances on the processed Ledger instance.

Structs§

Account
&str for accounts, interned within the 'arena bounded allocator lifetime.
Amount
Amount with multiple commodities, or simple zero.
Balance
Accumulated balance of accounts.
Commodity
&str for commodities, interned within the 'arena bounded allocator lifetime.
CommodityStore
Interner for Commodity.
CommodityTag
OwnedCommodity
Owned Commodity, which is just String. Useful to store in the error.
Posting
Evaluated posting of the transaction.
ProcessOptions
Options to control process behavior.
ReportContext
Context object extensively used across Ledger file evaluation.
SingleAmount
Amount with only one commodity.
Transaction
Evaluated transaction, already processed to have right balance.

Enums§

LoadError
ReportError
Error arised in report APIs.

Functions§

accounts
Returns all accounts for the given LedgerEntry. WARNING: interface are subject to change.
process
Takes the loader, and gives back the all read transactions. Also returns the computed balance, as a side-artifact. Usually this needs to be reordered, so just returning a Vec.