pub struct Setting {
pub key: &'static str,
pub label: &'static str,
pub value: String,
pub default: String,
pub overridden: bool,
pub set_here: bool,
pub scope: Scope,
}Expand description
One row of amont list’s commit-style block.
Fields§
§key: &'static str§label: &'static strThe words a human reads, e.g. description max.
value: String§default: String§overridden: boolThe effective value differs from the shipped one — the same meaning
CheckListing::severity_overridden carries.
set_here: boolSomebody set this key, wherever the value landed. Distinct from
overridden on purpose: a key pinned to the default value is still
worth showing the origin of, because a reader deciding whether to
change it wants to know a file already mentions it.
scope: ScopeAuto Trait Implementations§
impl Freeze for Setting
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnsafeUnpin for Setting
impl UnwindSafe for Setting
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