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

#pragma once

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

/** This file tests YAML dumped by Djinni can be parsed back in */
struct ExternRecordWithDerivings final {
    ::testsuite::RecordWithDerivings member;
    ::testsuite::color e;

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

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

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

    ExternRecordWithDerivings(::testsuite::RecordWithDerivings member,
                              ::testsuite::color e)
    : member(std::move(member))
    , e(std::move(e))
    {}
};
