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

#pragma once

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

struct RecordWithNestedDerivings final {

    int32_t key;

    RecordWithDerivings rec;

    bool operator==(const RecordWithNestedDerivings & other) const;
    bool operator!=(const RecordWithNestedDerivings & other) const;
    bool operator<(const RecordWithNestedDerivings & other) const;
    bool operator>(const RecordWithNestedDerivings & other) const;
    bool operator<=(const RecordWithNestedDerivings & other) const;
    bool operator>=(const RecordWithNestedDerivings & other) const;

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