[−][src]Module doublecount::accounting
The accounting system.
Structs
Account | Details for an account, which holds a Commodity with a type of Currency. |
AccountCategory | |
AccountState | Mutable state associated with an Account. |
EditAccountStatus | A type of Action to edit the AccountStatus of a given Account's AccountState. |
Program | A collection of Actions to be executed in order to mutate some ProgramState. |
ProgramState | The state of a Program being executed. |
Transaction | A movement of Commodity between two or more accounts
on a given |
TransactionElement | An element of a Transaction. |
Enums
AccountStatus | The status of an Account stored within an AccountState. |
AccountingError | An error associated with functionality in the accounting module. |
Traits
Action | Represents an action which can modify ProgramState. |
Functions
sum_account_states | Sum the values in all the accounts into a single Commodity, and
use the supplied exchange rate if required to convert a currency in an account
to the |
Type Definitions
AccountID | The type to use for the id of Accounts. |