pub struct GeneratedConfigBody {
pub assignments: Vec<String>,
pub resolved_keys: Vec<String>,
pub skipped: Vec<String>,
pub verify: Vec<String>,
}Expand description
One generated config module’s body - the per-key config["key"] = <expr>; assignment lines (already indented, ready to .join("\n\n")
and splice into a pub fn config() -> Value { ... } wrapper), plus the
same resolved_keys/skipped bookkeeping GeneratedConfigFile
carries. Kept separate from the fully-wrapped GeneratedConfigFile
so a caller that needs to merge several files’ worth of keys into one
shared module - xr convert’s own config/app.rs, built from
MAPPINGS-claimed fields found across every config/*.php file plus
app.php’s own unmapped keys - can reuse this same per-key rendering
without also getting a second, independent pub fn config() wrapper it
would have to discard. convert_body is the thin, single-file
wrapper around this for the common case (a config file with its own
standalone module).
Fields§
§assignments: Vec<String>§resolved_keys: Vec<String>§skipped: Vec<String>§verify: Vec<String>