I'd like to compare two instances of the same struct to see if their fields have all the same value. I believe that according to the docs the equality operator wont't work on structs.
What would be the right approach here? Writing a custom equals
method for the struct?