22#include <boost/json/conversion.hpp>
23#include <boost/json/value.hpp>
24#include <boost/uuid/uuid.hpp>
46 std::shared_ptr<boost::uuids::uuid>
uuid;
53tag_invoke(boost::json::value_from_tag, boost::json::value& jv,
ClioNode const& node);
56tag_invoke(boost::json::value_to_tag<ClioNode>, boost::json::value
const& jv);
Represents a node in the cluster.
Definition ClioNode.hpp:34
std::shared_ptr< boost::uuids::uuid > uuid
The UUID of the node.
Definition ClioNode.hpp:46
std::chrono::system_clock::time_point updateTime
The time the data about the node was last updated.
Definition ClioNode.hpp:47
static constexpr char const * kTIME_FORMAT
The format of the time to store in the database.
Definition ClioNode.hpp:38