Make struct unexported fields comparable