pub struct Month {
pub month: NaiveDate,
pub note: Option<String>,
pub income: i64,
pub budgeted: i64,
pub activity: i64,
pub to_be_budgeted: i64,
pub age_of_money: Option<usize>,
pub deleted: bool,
pub categories: Vec<Category>,
}Expand description
A plan month. This is where Ready to Assign, Age of Money, and category amounts (assigned, activity, available) are available. Amounts are in milliunits (divide by 1000 for display).
Fields§
§month: NaiveDate§note: Option<String>§income: i64§budgeted: i64§activity: i64§to_be_budgeted: i64§age_of_money: Option<usize>§deleted: bool§categories: Vec<Category>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Month
impl<'de> Deserialize<'de> for Month
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Month
impl RefUnwindSafe for Month
impl Send for Month
impl Sync for Month
impl Unpin for Month
impl UnsafeUnpin for Month
impl UnwindSafe for Month
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