Skip to main content

ENABLED_KEY

Constant ENABLED_KEY 

Source
pub const ENABLED_KEY: &str = "enabled";
Expand description

The key that switches a feature on or off in a source of settings (citations: {enabled: false}), reserved in every feature’s settings: a SettingsDecl refuses a key of this name (the constructors that take a Rust type panic, those that take data return a SettingsError of the kind SettingsErrorKind::InvalidDeclaration). The host that reads the sources of settings reads the key itself; the feature never receives it.