Is this maybe a XY problem? In this case I would instead try using an enum Param with all the possible parameter types as enum options. Then use a Vec<Param> instead of tuples. edit: Also can't you use a type alias?
Param
Vec<Param>