Is there a different way to do this other than nesting?

I wouldn’t be able to use an interface as far as I know. the “items” are a structure with all of the item info in it stored in an array. I don’t think I could use an interface there.
im getting the info from one of the elements in that array and breaking the structure to get the info on how to equip the item.