pub struct VendorNetworkConfig {
pub enabled: bool,
pub depth: u8,
pub tier1_count: TierCountConfig,
pub tier2_per_parent: TierCountConfig,
pub tier3_per_parent: TierCountConfig,
pub cluster_distribution: ClusterDistribution,
pub concentration_limits: ConcentrationLimits,
pub strategic_distribution: Vec<(StrategicLevel, f64)>,
pub single_source_percent: f64,
}Expand description
Configuration for vendor network generation.
Fields§
§enabled: boolEnable vendor network generation
depth: u8Maximum depth of supply chain tiers (1-3)
tier1_count: TierCountConfigNumber of Tier 1 vendors to generate
tier2_per_parent: TierCountConfigNumber of Tier 2 vendors per Tier 1 parent
tier3_per_parent: TierCountConfigNumber of Tier 3 vendors per Tier 2 parent
cluster_distribution: ClusterDistributionCluster distribution
concentration_limits: ConcentrationLimitsConcentration limits
strategic_distribution: Vec<(StrategicLevel, f64)>Strategic level distribution
single_source_percent: f64Single-source percentage
Trait Implementations§
Source§impl Clone for VendorNetworkConfig
impl Clone for VendorNetworkConfig
Source§fn clone(&self) -> VendorNetworkConfig
fn clone(&self) -> VendorNetworkConfig
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 VendorNetworkConfig
impl Debug for VendorNetworkConfig
Auto Trait Implementations§
impl Freeze for VendorNetworkConfig
impl RefUnwindSafe for VendorNetworkConfig
impl Send for VendorNetworkConfig
impl Sync for VendorNetworkConfig
impl Unpin for VendorNetworkConfig
impl UnwindSafe for VendorNetworkConfig
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