Skip to main content

derived_balance

Function derived_balance 

Source
pub fn derived_balance(entries: &[LedgerEntry]) -> BalanceReport
Expand description

Derive the balance purely from the unique-id set. Duplicate ids in the input are collapsed first, so the result is invariant under duplication/reordering.