pub struct BalanceState {
pub gl_balances: HashMap<String, f64>,
pub ar_total: f64,
pub ap_total: f64,
pub fa_net_book_value: f64,
pub retained_earnings: f64,
}Expand description
GL and sub-ledger balances carried forward between periods.
Fields§
§gl_balances: HashMap<String, f64>Per-GL-account running balance (account_id -> balance).
ar_total: f64Total accounts-receivable balance.
ap_total: f64Total accounts-payable balance.
fa_net_book_value: f64Net book value of all fixed assets.
retained_earnings: f64Retained earnings balance.
Trait Implementations§
Source§impl Clone for BalanceState
impl Clone for BalanceState
Source§fn clone(&self) -> BalanceState
fn clone(&self) -> BalanceState
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 BalanceState
impl Debug for BalanceState
Source§impl Default for BalanceState
impl Default for BalanceState
Source§fn default() -> BalanceState
fn default() -> BalanceState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BalanceState
impl<'de> Deserialize<'de> for BalanceState
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
Auto Trait Implementations§
impl Freeze for BalanceState
impl RefUnwindSafe for BalanceState
impl Send for BalanceState
impl Sync for BalanceState
impl Unpin for BalanceState
impl UnsafeUnpin for BalanceState
impl UnwindSafe for BalanceState
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