pub struct MonthSummary {
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,
}Fields§
§month: String§note: Option<String>§income: i64The total amount in transactions categorized to ‘Inflow: To be Budgeted’ in the month
budgeted: i64The total amount budgeted in the month
activity: i64The total amount in transactions in the month, excluding those categorized to ‘Inflow: To be Budgeted’
to_be_budgeted: i64The available amount for ‘To be Budgeted’
age_of_money: Option<i32>The Age of Money as of the month
deleted: boolWhether or not the month has been deleted. Deleted months will only be included in delta requests.
Implementations§
Trait Implementations§
Source§impl Debug for MonthSummary
impl Debug for MonthSummary
Source§impl<'de> Deserialize<'de> for MonthSummary
impl<'de> Deserialize<'de> for MonthSummary
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 MonthSummary
impl PartialEq for MonthSummary
Source§impl Serialize for MonthSummary
impl Serialize for MonthSummary
impl StructuralPartialEq for MonthSummary
Auto Trait Implementations§
impl Freeze for MonthSummary
impl RefUnwindSafe for MonthSummary
impl Send for MonthSummary
impl Sync for MonthSummary
impl Unpin for MonthSummary
impl UnwindSafe for MonthSummary
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> 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