blob: ef0935bbe2d478b2dbc69c183ab57e99e95ae14c [file] [log] [blame]
// NOLINTBEGIN
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace trusted_component
{
// clang-format off
enum class TrustedComponentType : std::uint8_t{
Invalid,
Discrete,
Integrated,
};
NLOHMANN_JSON_SERIALIZE_ENUM(TrustedComponentType, {
{TrustedComponentType::Invalid, "Invalid"},
{TrustedComponentType::Discrete, "Discrete"},
{TrustedComponentType::Integrated, "Integrated"},
});
} // namespace trusted_component
// clang-format on
// NOLINTEND