pub async fn update_cost_budget(
pool: &Pool<MySql>,
id: i64,
budget_name: Option<&str>,
budget_amount: Option<f64>,
alert_threshold_percentage: Option<f64>,
alert_contacts: Option<&str>,
is_active: Option<bool>,
) -> Result<CostBudget>
Expand description
Updates an existing cost budget in the database.