create prefab structure type together with a struct instance