use named generic types in generate_solution_type (#2707)
* use named generic types in generate_solution_type * "Update Substrate" Co-authored-by: parity-processbot <>
* use named generic types in generate_solution_type * "Update Substrate" Co-authored-by: parity-processbot <>