1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
//! # BuilderConfig - Trait Implementations //! //! This module contains trait implementations for `BuilderConfig`. //! //! ## Implemented Traits //! //! - `Default` //! //! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs) use super::types::{BuilderConfig, ExportFormat, Theme, VariableType}; impl Default for BuilderConfig { fn default() -> Self { Self { real_time_validation: true, auto_save_interval: Some(std::time::Duration::from_secs(30)), max_problem_size: 10000, default_variable_type: VariableType::Binary, supported_formats: vec![ ExportFormat::Python, ExportFormat::Rust, ExportFormat::JSON, ExportFormat::QUBO, ], theme: Theme::default(), } } }