pub struct BalanceTrackerConfig {
pub validate_on_each_entry: bool,
pub track_history: bool,
pub balance_tolerance: Decimal,
pub fail_on_validation_error: bool,
}Expand description
Configuration for the balance tracker.
Fields§
§validate_on_each_entry: boolWhether to validate balance sheet equation after each entry.
track_history: boolWhether to track balance history.
balance_tolerance: DecimalTolerance for balance sheet validation (for rounding).
fail_on_validation_error: boolWhether to fail on validation errors.
Trait Implementations§
Source§impl Clone for BalanceTrackerConfig
impl Clone for BalanceTrackerConfig
Source§fn clone(&self) -> BalanceTrackerConfig
fn clone(&self) -> BalanceTrackerConfig
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 BalanceTrackerConfig
impl Debug for BalanceTrackerConfig
Auto Trait Implementations§
impl Freeze for BalanceTrackerConfig
impl RefUnwindSafe for BalanceTrackerConfig
impl Send for BalanceTrackerConfig
impl Sync for BalanceTrackerConfig
impl Unpin for BalanceTrackerConfig
impl UnwindSafe for BalanceTrackerConfig
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