pub struct ConfigurationInitializationDTO {
pub Effective: Value,
pub Defaults: Value,
pub User: Value,
pub WorkSpace: Value,
pub Folders: Value,
pub Memory: Value,
pub Policy: Option<Value>,
pub ConfigurationScopes: Option<Vec<(String, Value)>>,
}Expand description
A serializable struct that represents the initial configuration data structure.
This DTO is typically sent from the main application (Mountain) to a
sidecar (Cocoon) on startup. It provides the sidecar with a complete
snapshot of all configuration sources, allowing it to accurately reflect the
application’s settings state without needing to read files itself.
Fields§
§Effective: ValueThe final, merged configuration values after applying all scopes in the correct order of precedence. This is the “effective” configuration.
Defaults: ValueThe default values for all configurations, as defined by the application and its extensions.
User: ValueUser-level settings, typically from a global settings.json file.
WorkSpace: ValueWorkSpace-level settings, from a .code-workspace file or a folder’s
.vscode/settings.json.
Folders: ValueSettings specific to individual folders in a multi-root workspace.
Memory: ValueTemporary, in-memory settings that are not persisted.
Policy: Option<Value>Policy-enforced settings that cannot be overridden by the user.
ConfigurationScopes: Option<Vec<(String, Value)>>Detailed scope information for each configuration key.
Trait Implementations§
Source§impl Clone for ConfigurationInitializationDTO
impl Clone for ConfigurationInitializationDTO
Source§fn clone(&self) -> ConfigurationInitializationDTO
fn clone(&self) -> ConfigurationInitializationDTO
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more