pub struct AppConfig {
pub paths: ConfigPaths,
pub agents: BTreeMap<String, String>,
pub saved_playgrounds_dir: PathBuf,
pub playground_defaults: PlaygroundConfig,
pub playgrounds: BTreeMap<String, PlaygroundDefinition>,
}Expand description
Fully resolved application configuration used by command execution.
Values in this struct are post-processed defaults/overrides loaded from
RootConfigFile and playground-specific PlaygroundConfigFile entries.
Fields§
§paths: ConfigPathsResolved filesystem locations for all config assets.
agents: BTreeMap<String, String>Agent identifier to shell command mapping from [agent].
saved_playgrounds_dir: PathBufDestination directory where saved snapshot copies are written.
playground_defaults: PlaygroundConfigDefault playground runtime config inherited by all playgrounds.
playgrounds: BTreeMap<String, PlaygroundDefinition>All discovered playground definitions keyed by playground id.
Implementations§
Trait Implementations§
impl Eq for AppConfig
impl StructuralPartialEq for AppConfig
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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