pub fn generate_rust(state: &ArchitectureState) -> StringExpand description
Generate a complete Rust source file from architecture state.
The returned string can be written to src/generated_schema.rs.
It contains:
- One
<Name>Valuestruct per record (withSerialize/Deserialize) - One
<Name>Keyenum per record (with#[derive(RecordKey)]) - A
configure_schema<R>()function wiring all records intoAimDbBuilder