Function spacetimedb_cli::generate::rust::autogen_rust_tuple

source ยท
pub fn autogen_rust_tuple(
    ctx: &GenCtx,
    name: &str,
    product: &ProductType
) -> String
Expand description

Generate a file which defines a struct corresponding to the product type.