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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InspectResultDataDTO
impl Debug for InspectResultDataDTO
Source§impl Default for InspectResultDataDTO
impl Default for InspectResultDataDTO
Source§fn default() -> InspectResultDataDTO
fn default() -> InspectResultDataDTO
Source§impl<'de> Deserialize<'de> for InspectResultDataDTO
impl<'de> Deserialize<'de> for InspectResultDataDTO
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>,
Auto Trait Implementations§
impl Freeze for InspectResultDataDTO
impl RefUnwindSafe for InspectResultDataDTO
impl Send for InspectResultDataDTO
impl Sync for InspectResultDataDTO
impl Unpin for InspectResultDataDTO
impl UnsafeUnpin for InspectResultDataDTO
impl UnwindSafe for InspectResultDataDTO
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more