pub struct RegisterEntry {
pub date: NaiveDate,
pub payee: String,
pub category: String,
pub memo: String,
pub amount: Money,
pub running_balance: Money,
pub status: TransactionStatus,
pub is_split: bool,
pub is_transfer: bool,
}Expand description
A single entry in the register report
Fields§
§date: NaiveDateTransaction date
payee: StringPayee name
category: StringCategory name (or “Split” or “Transfer” or “Uncategorized”)
memo: StringMemo
amount: MoneyTransaction amount
running_balance: MoneyRunning balance after this transaction
status: TransactionStatusTransaction status
is_split: boolWhether this is a split transaction
is_transfer: boolWhether this is a transfer
Trait Implementations§
Source§impl Clone for RegisterEntry
impl Clone for RegisterEntry
Source§fn clone(&self) -> RegisterEntry
fn clone(&self) -> RegisterEntry
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 RegisterEntry
impl RefUnwindSafe for RegisterEntry
impl Send for RegisterEntry
impl Sync for RegisterEntry
impl Unpin for RegisterEntry
impl UnwindSafe for RegisterEntry
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