pub struct RegisterSummary {
pub total_entries: usize,
pub cleared_count: usize,
pub pending_count: usize,
pub total_inflows: Money,
pub total_outflows: Money,
pub net_change: Money,
}Expand description
Summary statistics for a register report
Fields§
§total_entries: usizeTotal number of entries
cleared_count: usizeNumber of cleared/reconciled entries
pending_count: usizeNumber of pending entries
total_inflows: MoneyTotal inflows
total_outflows: MoneyTotal outflows
net_change: MoneyNet change (inflows + outflows)
Trait Implementations§
Source§impl Clone for RegisterSummary
impl Clone for RegisterSummary
Source§fn clone(&self) -> RegisterSummary
fn clone(&self) -> RegisterSummary
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 RegisterSummary
impl RefUnwindSafe for RegisterSummary
impl Send for RegisterSummary
impl Sync for RegisterSummary
impl Unpin for RegisterSummary
impl UnwindSafe for RegisterSummary
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