// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from derivings.djinni

#pragma once

#include "record_with_derivings.hpp"
#include <cstdint>
#include <utility>

namespace testsuite {

struct RecordWithNestedDerivings final {
    int32_t key;
    RecordWithDerivings rec;

    friend bool operator==(const RecordWithNestedDerivings& lhs, const RecordWithNestedDerivings& rhs);
    friend bool operator!=(const RecordWithNestedDerivings& lhs, const RecordWithNestedDerivings& rhs);

    friend bool operator<(const RecordWithNestedDerivings& lhs, const RecordWithNestedDerivings& rhs);
    friend bool operator>(const RecordWithNestedDerivings& lhs, const RecordWithNestedDerivings& rhs);

    friend bool operator<=(const RecordWithNestedDerivings& lhs, const RecordWithNestedDerivings& rhs);
    friend bool operator>=(const RecordWithNestedDerivings& lhs, const RecordWithNestedDerivings& rhs);

    RecordWithNestedDerivings(int32_t key_,
                              RecordWithDerivings rec_)
    : key(std::move(key_))
    , rec(std::move(rec_))
    {}
};

}  // namespace testsuite
