Skip to main content

Module models

Module models 

Source

Structs§

Account
An individual financial account (checking, savings, credit card, brokerage, etc.)
AccountConfig
Optional account configuration (stored in account_config.toml).
AssetBalance
A single asset’s balance without timestamp (belongs to a snapshot).
BalanceSnapshot
A point-in-time snapshot of ALL holdings in an account. One line in the JSONL file = one complete account state.
Connection
A fully loaded connection (config + state).
ConnectionConfig
Human-declared connection configuration. Stored in connection.toml.
ConnectionState
Machine-managed connection state. Stored in connection.json.
FixedIdGenerator
A deterministic generator that returns a pre-seeded sequence of IDs.
Id
Opaque identifier for stored entities.
LastSync
Transaction
A financial transaction. Stored in monthly JSONL files.
TransactionAnnotation
Current (materialized) annotation state for a transaction.
TransactionAnnotationPatch
Append-only transaction annotation patch.
UuidIdGenerator

Enums§

Asset
Represents an asset type with type-specific identification fields. The asset_type field determines what other fields are present.
BalanceBackfillPolicy
Policy for handling balances before the first snapshot.
ConnectionStatus
SyncStatus
TransactionStatus

Traits§

IdGenerator
Abstraction over ID generation to support deterministic tests.