pub struct RuntimeConfig {Show 13 fields
pub config_path: Option<PathBuf>,
pub lenv_path: Option<PathBuf>,
pub log_level: Level,
pub verbose: bool,
pub dry_run: bool,
pub plan: bool,
pub account: Option<String>,
pub user: Option<String>,
pub balance_interval: Option<u64>,
pub order_delay: Option<u64>,
pub run_once: bool,
pub demo: bool,
pub app_config: Option<AppConfig>,
}Expand description
Runtime configuration combining CLI, environment, and file config.
Fields§
§config_path: Option<PathBuf>Path to configuration file.
lenv_path: Option<PathBuf>Path to lenv file.
log_level: LevelLog level.
verbose: boolVerbose output enabled.
dry_run: boolDry run mode enabled.
plan: boolPlan mode enabled - shows what orders would be placed without executing.
account: Option<String>Specific account to use.
user: Option<String>Specific user to use.
balance_interval: Option<u64>Rebalancing interval override.
order_delay: Option<u64>Order delay override.
run_once: boolRun once mode.
demo: boolDemo mode.
app_config: Option<AppConfig>Application config from file.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Auto Trait Implementations§
impl Forget for RuntimeConfig
impl Freeze for RuntimeConfig
impl Move for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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