Builds RustQ AST items from defrust metadata and explicit quoted bodies.
Summary
Functions
Builds Rust struct items for selected map-backed @type declarations.
Functions
@spec struct_type_items(module(), [atom()], keyword()) :: [RustQ.Rust.Fragment.t()]
Builds Rust struct items for selected map-backed @type declarations.
Use :derive, :attrs, and :vis to adapt the structural type item at a
boundary such as Rustler encoding without duplicating its fields.