pub struct RunConfig {
pub profile_name: String,
pub workbench: Option<String>,
pub env_vars: HashMap<String, String>,
pub hot_reload: bool,
pub watch: bool,
pub live_reload_port: u16,
pub command: Vec<String>,
pub working_dir: PathBuf,
}Expand description
Represents the resolved run configuration.
This struct contains all the configuration needed to start a development run session, including environment variables, workbench settings, and run-specific options.
Fields§
§profile_name: StringThe profile name used for this run.
workbench: Option<String>The workbench type (Browser, Wind, Mountain, Electron).
env_vars: HashMap<String, String>Resolved environment variables.
hot_reload: boolWhether hot-reload is enabled.
watch: boolWhether watch mode is enabled.
live_reload_port: u16Port for live-reload server.
command: Vec<String>The command to execute.
working_dir: PathBufWorking directory for the run.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunConfig
impl<'de> Deserialize<'de> for RunConfig
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 RunConfig
impl RefUnwindSafe for RunConfig
impl Send for RunConfig
impl Sync for RunConfig
impl Unpin for RunConfig
impl UnwindSafe for RunConfig
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