Function spacetimedb_cli::generate::rust::autogen_rust_tuple
source · pub fn autogen_rust_tuple(
ctx: &GenCtx,
name: &str,
product: &ProductType
) -> StringExpand description
Generate a file which defines a struct corresponding to the product type.