Allow to do check equality of some of fields in given structure