fn set_value(mapping: &Mapping, key: &str, value: &Value) -> Result<()>Expand description
Set mapping[key] = value. Only scalars are supported: yaml_edit
incorrectly renders block values when setting them (as of 0.2, #6803), so
structured values error out and the caller falls back to a plain rewrite.