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: 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.
Implementations§
Trait Implementations§
Source§impl Clone for MonthSummary
impl Clone for MonthSummary
Source§fn clone(&self) -> MonthSummary
fn clone(&self) -> MonthSummary
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 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> 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