pub fn materiality_word(m: Materiality) -> &'static strExpand description
The word that names a materiality, the same one its JSON form carries: what a plan’s reason sentence prints.
use majordomus_cli::reasoning::policy::{materiality_word, Materiality};
assert_eq!(materiality_word(Materiality::Critical), "critical");
assert_eq!(serde_json::to_value(Materiality::Low).unwrap(), materiality_word(Materiality::Low));