Generate isequal() methods for @struct types

Thanks to Toivo Henningsson for figuring out how to spell this.
Merge branch 'topic/isequal'