pub struct ConfigIssue {
pub key: String,
pub kind: ConfigIssueKind,
}Expand description
A key in a config surface that WorkspaceConfig::apply would silently
ignore — surfaced so a setting that never takes effect becomes visible rather
than staying invisible. apply keeps the current value whenever a key is
unrecognized or its value fails to parse; that robustness is what makes a
typo (notaton) or a bad value (fixity: alll) vanish without a word.
Fields§
§key: StringThe offending key, dotted from the block root (references.notation).
kind: ConfigIssueKindWhat is wrong with it.
Trait Implementations§
Source§impl Clone for ConfigIssue
impl Clone for ConfigIssue
Source§fn clone(&self) -> ConfigIssue
fn clone(&self) -> ConfigIssue
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 ConfigIssue
impl Debug for ConfigIssue
impl Eq for ConfigIssue
Source§impl PartialEq for ConfigIssue
impl PartialEq for ConfigIssue
impl StructuralPartialEq for ConfigIssue
Auto Trait Implementations§
impl Freeze for ConfigIssue
impl RefUnwindSafe for ConfigIssue
impl Send for ConfigIssue
impl Sync for ConfigIssue
impl Unpin for ConfigIssue
impl UnsafeUnpin for ConfigIssue
impl UnwindSafe for ConfigIssue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.