Unions+Functions+serialWrite = Error

What happens if you define the struct outside of the union?