pub struct Entry {
pub id: i64,
pub transfer_id: String,
pub account_id: String,
pub amount: i64,
pub balance_after: i64,
pub kind: TransferKind,
pub reference: String,
pub created_at: u64,
}Expand description
One side of a transfer, on one account. Two per transfer, equal and opposite.
Fields§
§id: i64§transfer_id: String§account_id: String§amount: i64Signed: negative is a debit, positive a credit.
balance_after: i64The account’s balance once this entry was applied. A history that carries its running balance can be checked line by line.
kind: TransferKind§reference: String§created_at: u64Implementations§
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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