pub fn generate_model(model: &ModelIr, ir: &SchemaIr, is_async: bool) -> StringExpand description
Generate complete code for a model (struct, impls, delegate, builders).
is_async determines whether the generated delegate methods and internal
builders use async fn/.await (true) or blocking sync wrappers (false).