Skip to main content

expected

Function expected 

Source
pub(crate) fn expected(
    movements: &[&Movement],
    ledger: &Ledger,
    budgets: Option<&[String]>,
    as_of: Date,
    today: Date,
    horizon: Date,
    filler: &[String],
) -> Vec<Expected>
Expand description

What is expected on an account from as_of to horizon: its movements read after the balance, then the recurring payments and planned lines of budgets (every budget’s when None) not seen yet, daily spending spread over its days; in date order.