override fun equals()

in thrifty-runtime/src/commonTest/kotlin/com/microsoft/thrifty/protocol/Xtruct.kt [50:61]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other == null) return false
        if (other !is Xtruct) return false
        val that = other
        return ((string_thing === that.string_thing || string_thing != null && string_thing == that.string_thing)
                && (byte_thing === that.byte_thing || byte_thing != null && byte_thing == that.byte_thing)
                && (i32_thing === that.i32_thing || i32_thing != null && i32_thing == that.i32_thing)
                && (i64_thing === that.i64_thing || i64_thing != null && i64_thing == that.i64_thing)
                && (double_thing === that.double_thing || double_thing != null && double_thing == that.double_thing)
                && (bool_thing === that.bool_thing || bool_thing != null && bool_thing == that.bool_thing))
    }