pub struct AdvancedDistributionConfig {
pub enabled: bool,
pub amounts: MixtureDistributionSchemaConfig,
pub correlations: CorrelationSchemaConfig,
pub conditional: Vec<ConditionalDistributionSchemaConfig>,
pub regime_changes: RegimeChangeSchemaConfig,
pub industry_profile: Option<IndustryProfileField>,
pub validation: StatisticalValidationSchemaConfig,
pub pareto: Option<ParetoSchemaConfig>,
}Expand description
Advanced distribution configuration for realistic data generation.
This section enables sophisticated distribution models including:
- Mixture models (multi-modal distributions)
- Cross-field correlations
- Conditional distributions
- Regime changes and economic cycles
- Statistical validation
Fields§
§enabled: boolEnable advanced distribution features.
amounts: MixtureDistributionSchemaConfigMixture model configuration for amounts.
correlations: CorrelationSchemaConfigCross-field correlation configuration.
conditional: Vec<ConditionalDistributionSchemaConfig>Conditional distribution configurations.
regime_changes: RegimeChangeSchemaConfigRegime change configuration.
industry_profile: Option<IndustryProfileField>Industry-specific distribution profile.
Accepts either the legacy bare-name form (industry_profile: retail) or
the SP3 extended struct form with optional priors sub-section.
validation: StatisticalValidationSchemaConfigStatistical validation configuration.
pareto: Option<ParetoSchemaConfig>v3.4.4+ — Pareto heavy-tailed distribution for monetary amounts.
When set and enabled, overrides amounts mixture model for the
non-fraud amount-sampling path (fraud patterns remain orthogonal).
Useful for capex, strategic contracts, and any domain where a small
number of very large values dominates the tail.
Trait Implementations§
Source§impl Clone for AdvancedDistributionConfig
impl Clone for AdvancedDistributionConfig
Source§fn clone(&self) -> AdvancedDistributionConfig
fn clone(&self) -> AdvancedDistributionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AdvancedDistributionConfig
impl Debug for AdvancedDistributionConfig
Source§impl Default for AdvancedDistributionConfig
impl Default for AdvancedDistributionConfig
Source§fn default() -> AdvancedDistributionConfig
fn default() -> AdvancedDistributionConfig
Source§impl<'de> Deserialize<'de> for AdvancedDistributionConfig
impl<'de> Deserialize<'de> for AdvancedDistributionConfig
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>,
Auto Trait Implementations§
impl Freeze for AdvancedDistributionConfig
impl RefUnwindSafe for AdvancedDistributionConfig
impl Send for AdvancedDistributionConfig
impl Sync for AdvancedDistributionConfig
impl Unpin for AdvancedDistributionConfig
impl UnsafeUnpin for AdvancedDistributionConfig
impl UnwindSafe for AdvancedDistributionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.