pub struct BudgetGenerator { /* private fields */ }Expand description
Generates Budget instances with line items, variance analysis,
and realistic approval workflows.
Implementations§
Source§impl BudgetGenerator
impl BudgetGenerator
Sourcepub fn generate(
&mut self,
company_code: &str,
fiscal_year: u32,
account_codes: &[(String, String)],
config: &BudgetConfig,
) -> Budget
pub fn generate( &mut self, company_code: &str, fiscal_year: u32, account_codes: &[(String, String)], config: &BudgetConfig, ) -> Budget
Generate a budget for the given fiscal year and accounts.
§Arguments
company_code- The company code this budget belongs to.fiscal_year- The fiscal year the budget covers.account_codes- Slice of (account_code, account_name) tuples.config- Budget configuration knobs.
Auto Trait Implementations§
impl !Freeze for BudgetGenerator
impl RefUnwindSafe for BudgetGenerator
impl Send for BudgetGenerator
impl Sync for BudgetGenerator
impl Unpin for BudgetGenerator
impl UnsafeUnpin for BudgetGenerator
impl UnwindSafe for BudgetGenerator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more