pub struct HarnessInteropControl {Show 14 fields
pub key: String,
pub native_key: String,
pub label: String,
pub description: String,
pub scope: HarnessSettingScope,
pub source_path: PathBuf,
pub configured_value: Option<String>,
pub effective_value: Option<String>,
pub effective_known: bool,
pub effective_note: String,
pub choices: Vec<HarnessSettingChoice>,
pub writable: bool,
pub resettable: bool,
pub requires_restart: bool,
}Expand description
One harness-owned setting that Supercode can inspect or configure.
Fields§
§key: StringStable Supercode control key.
native_key: StringHarness-native setting key.
label: StringShort user-facing label.
description: StringExplanation of the interoperability behavior controlled.
scope: HarnessSettingScopeNative configuration layer inspected.
source_path: PathBufExact native file inspected or changed.
configured_value: Option<String>Value explicitly configured in that file.
effective_value: Option<String>Effective value, when precedence can be proven.
effective_known: boolWhether effective_value is authoritative for the running process.
effective_note: StringWhy the effective value is or is not known.
choices: Vec<HarnessSettingChoice>Finite values accepted by this control.
writable: boolWhether the host may change this control.
resettable: boolWhether the explicit value can be removed.
requires_restart: boolWhether a harness restart is required after changing it.
Trait Implementations§
Source§impl Clone for HarnessInteropControl
impl Clone for HarnessInteropControl
Source§fn clone(&self) -> HarnessInteropControl
fn clone(&self) -> HarnessInteropControl
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 HarnessInteropControl
impl Debug for HarnessInteropControl
Source§impl<'de> Deserialize<'de> for HarnessInteropControl
impl<'de> Deserialize<'de> for HarnessInteropControl
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
impl Eq for HarnessInteropControl
Source§impl PartialEq for HarnessInteropControl
impl PartialEq for HarnessInteropControl
Source§impl Serialize for HarnessInteropControl
impl Serialize for HarnessInteropControl
impl StructuralPartialEq for HarnessInteropControl
Auto Trait Implementations§
impl Freeze for HarnessInteropControl
impl RefUnwindSafe for HarnessInteropControl
impl Send for HarnessInteropControl
impl Sync for HarnessInteropControl
impl Unpin for HarnessInteropControl
impl UnsafeUnpin for HarnessInteropControl
impl UnwindSafe for HarnessInteropControl
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.