pub struct InspectResultDataDTO {Show 18 fields
pub DefaultValue: Option<Value>,
pub UserValue: Option<Value>,
pub UserLocalValue: Option<Value>,
pub UserRemoteValue: Option<Value>,
pub WorkSpaceValue: Option<Value>,
pub WorkSpaceFolderValue: Option<Value>,
pub MemoryValue: Option<Value>,
pub PolicyValue: Option<Value>,
pub EffectiveValue: Option<Value>,
pub DefaultLanguageValue: Option<Value>,
pub UserLanguageValue: Option<Value>,
pub UserLocalLanguageValue: Option<Value>,
pub UserRemoteLanguageValue: Option<Value>,
pub WorkSpaceLanguageValue: Option<Value>,
pub WorkSpaceFolderLanguageValue: Option<Value>,
pub MemoryLanguageValue: Option<Value>,
pub PolicyLanguageValue: Option<Value>,
pub LanguageIdentifiers: Option<Vec<String>>,
}Expand description
A serializable struct that represents the detailed breakdown of a configuration value from all possible sources.
This DTO is returned by the InspectConfiguration effect and is used by
UI components like the Settings editor to show where values are inherited
from, what the default is, and what the final effective value is.
Fields§
§DefaultValue: Option<Value>The value from the default configuration.
UserValue: Option<Value>The value from the user (global) settings.
UserLocalValue: Option<Value>The value from the local (un-synced) user settings.
UserRemoteValue: Option<Value>The value from the remote user settings (if applicable).
WorkSpaceValue: Option<Value>The value from the workspace settings.
WorkSpaceFolderValue: Option<Value>The value from a specific workspace folder’s settings.
MemoryValue: Option<Value>The value from the in-memory configuration.
PolicyValue: Option<Value>The value from the policy-enforced configuration.
EffectiveValue: Option<Value>The final, effective value after all scopes have been merged.
DefaultLanguageValue: Option<Value>§UserLanguageValue: Option<Value>§UserLocalLanguageValue: Option<Value>§UserRemoteLanguageValue: Option<Value>§WorkSpaceLanguageValue: Option<Value>§WorkSpaceFolderLanguageValue: Option<Value>§MemoryLanguageValue: Option<Value>§PolicyLanguageValue: Option<Value>§LanguageIdentifiers: Option<Vec<String>>A list of language identifiers for which language-specific values were found during the inspection.
Trait Implementations§
Source§impl Clone for InspectResultDataDTO
impl Clone for InspectResultDataDTO
Source§fn clone(&self) -> InspectResultDataDTO
fn clone(&self) -> InspectResultDataDTO
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more