pub struct DebitCreditDistributionConfig {
pub equal: f64,
pub more_debit: f64,
pub more_credit: f64,
}Expand description
Configuration for debit/credit balance distribution.
Fields§
§equal: f64Probability of equal debit and credit counts (82%)
more_debit: f64Probability of more debit lines than credit (7%)
more_credit: f64Probability of more credit lines than debit (11%)
Trait Implementations§
Source§impl Clone for DebitCreditDistributionConfig
impl Clone for DebitCreditDistributionConfig
Source§fn clone(&self) -> DebitCreditDistributionConfig
fn clone(&self) -> DebitCreditDistributionConfig
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<'de> Deserialize<'de> for DebitCreditDistributionConfig
impl<'de> Deserialize<'de> for DebitCreditDistributionConfig
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 DebitCreditDistributionConfig
impl RefUnwindSafe for DebitCreditDistributionConfig
impl Send for DebitCreditDistributionConfig
impl Sync for DebitCreditDistributionConfig
impl Unpin for DebitCreditDistributionConfig
impl UnwindSafe for DebitCreditDistributionConfig
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