pub struct MonthDetail {
pub month: String,
pub note: Option<String>,
pub income: i64,
pub budgeted: i64,
pub activity: i64,
pub to_be_budgeted: i64,
pub age_of_money: Option<i32>,
pub deleted: bool,
pub categories: Vec<Category>,
}
Fields§
§month: String
§note: Option<String>
§income: i64
The total amount of transactions categorized to ‘Inflow: Ready to Assign’ in the month
budgeted: i64
The total amount budgeted in the month
activity: i64
The total amount of transactions in the month, excluding those categorized to ‘Inflow: Ready to Assign’
to_be_budgeted: i64
The available amount for ‘Ready to Assign’
age_of_money: Option<i32>
The Age of Money as of the month
deleted: bool
Whether or not the month has been deleted. Deleted months will only be included in delta requests.
categories: Vec<Category>
The budget month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified.
Implementations§
Trait Implementations§
Source§impl Clone for MonthDetail
impl Clone for MonthDetail
Source§fn clone(&self) -> MonthDetail
fn clone(&self) -> MonthDetail
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 moreSource§impl Debug for MonthDetail
impl Debug for MonthDetail
Source§impl<'de> Deserialize<'de> for MonthDetail
impl<'de> Deserialize<'de> for MonthDetail
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
Source§impl PartialEq for MonthDetail
impl PartialEq for MonthDetail
Source§impl Serialize for MonthDetail
impl Serialize for MonthDetail
impl StructuralPartialEq for MonthDetail
Auto Trait Implementations§
impl Freeze for MonthDetail
impl RefUnwindSafe for MonthDetail
impl Send for MonthDetail
impl Sync for MonthDetail
impl Unpin for MonthDetail
impl UnwindSafe for MonthDetail
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