20 Message(std::string topic, solanet::UUID sender_id, solanet::UUID message_id, std::string content,
22 : topic(std::move(topic)),
24 message_id(message_id),
25 content(std::move(content)),
29 solanet::UUID sender_id{};
30 solanet::UUID message_id{};
31 std::string content{};
34 bool operator==(
const Message &other)
const {
35 return topic == other.topic && sender_id == other.sender_id && message_id == other.message_id &&
36 content == other.content && round == other.round;