pub struct UserSettingsGetResult {
pub settings: HashMap<String, UserSettingMetadata>,
}Expand description
Per-key metadata for every known user setting (settings.json overlaid with the legacy config.json, config.json wins), including settings left at their default. Excludes repository- and enterprise-managed overrides.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§settings: HashMap<String, UserSettingMetadata>Every known user setting keyed by setting name, each with its effective value, default, and whether it is at the default.
Trait Implementations§
Source§impl Clone for UserSettingsGetResult
impl Clone for UserSettingsGetResult
Source§fn clone(&self) -> UserSettingsGetResult
fn clone(&self) -> UserSettingsGetResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserSettingsGetResult
impl Debug for UserSettingsGetResult
Source§impl Default for UserSettingsGetResult
impl Default for UserSettingsGetResult
Source§fn default() -> UserSettingsGetResult
fn default() -> UserSettingsGetResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserSettingsGetResult
impl<'de> Deserialize<'de> for UserSettingsGetResult
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 UserSettingsGetResult
impl RefUnwindSafe for UserSettingsGetResult
impl Send for UserSettingsGetResult
impl Sync for UserSettingsGetResult
impl Unpin for UserSettingsGetResult
impl UnsafeUnpin for UserSettingsGetResult
impl UnwindSafe for UserSettingsGetResult
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