Function spacetimedb_cli::generate::rust::autogen_rust_table
source · pub fn autogen_rust_table(ctx: &GenCtx, table: &TableDesc) -> StringExpand description
Generate a file which defines a struct corresponding to the table’s ProductType,
and implements spacetimedb_sdk::table::TableType for it.