I’m trying to use the GovernanceInstruction
struct in my rust test file but I can’t seem to find it in the abi even though its part of the contract:
- how does the abi choose which struct gets compiled?
- if you need to use a struct in sway but its not in the abi, how can you access it in rust?