pub struct CustomerMasterConfig {
pub count: usize,
pub intercompany_percent: f64,
pub credit_rating_distribution: CreditRatingDistribution,
pub payment_behavior_distribution: PaymentBehaviorDistribution,
pub generate_credit_limits: bool,
}Expand description
Customer master data configuration.
Fields§
§count: usizeNumber of customers to generate
intercompany_percent: f64Percentage of customers that are intercompany (0.0 to 1.0)
credit_rating_distribution: CreditRatingDistributionCredit rating distribution
payment_behavior_distribution: PaymentBehaviorDistributionPayment behavior distribution
generate_credit_limits: boolGenerate credit limits based on rating
Trait Implementations§
Source§impl Clone for CustomerMasterConfig
impl Clone for CustomerMasterConfig
Source§fn clone(&self) -> CustomerMasterConfig
fn clone(&self) -> CustomerMasterConfig
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 CustomerMasterConfig
impl Debug for CustomerMasterConfig
Source§impl Default for CustomerMasterConfig
impl Default for CustomerMasterConfig
Source§impl<'de> Deserialize<'de> for CustomerMasterConfig
impl<'de> Deserialize<'de> for CustomerMasterConfig
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 CustomerMasterConfig
impl RefUnwindSafe for CustomerMasterConfig
impl Send for CustomerMasterConfig
impl Sync for CustomerMasterConfig
impl Unpin for CustomerMasterConfig
impl UnwindSafe for CustomerMasterConfig
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