pub struct GlobalConfig {
pub seed: Option<u64>,
pub industry: IndustrySector,
pub start_date: String,
pub period_months: u32,
pub group_currency: String,
pub parallel: bool,
pub worker_threads: usize,
pub memory_limit_mb: usize,
}Expand description
Global configuration settings.
Fields§
§seed: Option<u64>Random seed for reproducibility
industry: IndustrySectorIndustry sector
start_date: StringSimulation start date (YYYY-MM-DD)
period_months: u32Simulation period in months
group_currency: StringBase currency for group reporting
parallel: boolEnable parallel generation
worker_threads: usizeNumber of worker threads (0 = auto-detect)
memory_limit_mb: usizeMemory limit in MB (0 = unlimited)
Trait Implementations§
Source§impl Clone for GlobalConfig
impl Clone for GlobalConfig
Source§fn clone(&self) -> GlobalConfig
fn clone(&self) -> GlobalConfig
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 GlobalConfig
impl Debug for GlobalConfig
Source§impl<'de> Deserialize<'de> for GlobalConfig
impl<'de> Deserialize<'de> for GlobalConfig
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 GlobalConfig
impl RefUnwindSafe for GlobalConfig
impl Send for GlobalConfig
impl Sync for GlobalConfig
impl Unpin for GlobalConfig
impl UnwindSafe for GlobalConfig
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