pub fn has_model_attr(attrs: &[Attribute]) -> boolExpand description
Does the item carry the framework’s #[model(...)] attribute macro? Such
a struct expands to #[derive(Table)] plus app metadata, so the schema
layer treats it exactly like a hand-derived table. (The framework crates
are not a dependency here — this is a purely syntactic check, in the same
spirit as has_derive.)