pub struct BalanceSnapshot {
pub assets: Decimal,
pub liabilities: Decimal,
pub equity: Decimal,
pub period: String,
}Expand description
Balance snapshot for coherence testing.
Fields§
§assets: DecimalTotal assets
liabilities: DecimalTotal liabilities
equity: DecimalTotal equity
period: StringPeriod identifier
Implementations§
Trait Implementations§
Source§impl Clone for BalanceSnapshot
impl Clone for BalanceSnapshot
Source§fn clone(&self) -> BalanceSnapshot
fn clone(&self) -> BalanceSnapshot
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 BalanceSnapshot
impl RefUnwindSafe for BalanceSnapshot
impl Send for BalanceSnapshot
impl Sync for BalanceSnapshot
impl Unpin for BalanceSnapshot
impl UnwindSafe for BalanceSnapshot
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