Function generate_types_rs_file_code
Source pub fn generate_types_rs_file_code(
workflow: &Workflow,
custom_types: &HashMap<String, String>,
) -> Result<String, Error>
Expand description
Generates the main Rust code for the workflow package and creates the types.rs file
§Arguments
workflow_index - The index of the workflow
§Returns
- A String containing the Rust code to be written to
types.rs file in the workflow package