pub struct ConvertedModel {
pub struct_name: String,
pub content: String,
pub relation_notes: Vec<String>,
pub schema_note: Option<String>,
}Fields§
§struct_name: String§content: String§relation_notes: Vec<String>Per-relationship methods that looked like they were attempting a
relationship but used a shape this phase doesn’t support -
flagged, not fatal to the rest of the model (per-attribute
safety; see relations.rs’s own doc comment).
schema_note: Option<String>Some(note) when this model’s table has no migration and its
fields came from inferred_fields::infer instead (a table
managed by a remote/external database, the common real-world
case this phase can’t refuse to support just because there’s no
local schema to check against) - the caller folds this into
CONVERSION_REPORT.md as its own manual-review category, distinct
from relation_notes and from an outright conversion failure:
the model DID convert, just with guessed field types that need
verifying against the real schema. None for a normal,
migration-verified model.