pub struct ConfigSetting {
pub path: String,
pub value: Value,
pub origin: Option<String>,
pub label: Option<String>,
pub type_name: Option<String>,
pub default_value: Option<String>,
pub description: Option<String>,
pub options: Vec<String>,
pub group: Option<String>,
pub group_description: Option<String>,
pub editable: bool,
}Expand description
Non-secret setting value exposed to the native configuration browser.
Fields§
§path: StringStable dotted path accepted by the CLI config writer.
value: ValueEffective CLI value after defaults; null represents an unset documented optional field.
origin: Option<String>Safe layer label such as workspace or user; never a filesystem path.
label: Option<String>CLI /config display label, when documented.
type_name: Option<String>CLI schema type used when a setting has no explicit effective value.
default_value: Option<String>Documented default value, rendered as plain text.
description: Option<String>Description from the shared CLI configuration reference.
options: Vec<String>Documented choices, if the CLI exposes a finite set.
group: Option<String>Curated CLI /config group or Advanced settings.
group_description: Option<String>Purpose of the curated group.
editable: boolWhether the current CLI catalog considers this a writable setting.
Trait Implementations§
Source§impl Clone for ConfigSetting
impl Clone for ConfigSetting
Source§impl Debug for ConfigSetting
impl Debug for ConfigSetting
Source§impl<'de> Deserialize<'de> for ConfigSetting
impl<'de> Deserialize<'de> for ConfigSetting
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
Source§impl PartialEq for ConfigSetting
impl PartialEq for ConfigSetting
Source§impl Serialize for ConfigSetting
impl Serialize for ConfigSetting
impl StructuralPartialEq for ConfigSetting
Auto Trait Implementations§
impl Forget for ConfigSetting
impl Freeze for ConfigSetting
impl RefUnwindSafe for ConfigSetting
impl Send for ConfigSetting
impl Sync for ConfigSetting
impl Unpin for ConfigSetting
impl UnsafeUnpin for ConfigSetting
impl UnwindSafe for ConfigSetting
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