pub struct BudgetOverview {
pub period: BudgetPeriod,
pub total_budgeted: Money,
pub total_activity: Money,
pub total_available: Money,
pub available_to_budget: Money,
pub categories: Vec<CategoryBudgetSummary>,
pub expected_income: Option<Money>,
pub over_budget_amount: Option<Money>,
}Expand description
Budget overview for a period
Fields§
§period: BudgetPeriod§total_budgeted: Money§total_activity: Money§total_available: Money§available_to_budget: Money§categories: Vec<CategoryBudgetSummary>§expected_income: Option<Money>Expected income for this period (if set)
over_budget_amount: Option<Money>Amount over expected income (Some if budgeted > expected, None otherwise)
Trait Implementations§
Source§impl Clone for BudgetOverview
impl Clone for BudgetOverview
Source§fn clone(&self) -> BudgetOverview
fn clone(&self) -> BudgetOverview
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BudgetOverview
impl RefUnwindSafe for BudgetOverview
impl Send for BudgetOverview
impl Sync for BudgetOverview
impl Unpin for BudgetOverview
impl UnwindSafe for BudgetOverview
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more