|
ORE Studio 0.0.4
|
Request to save a country (create or update). More...
#include <country_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< save_country_request, ores::utility::serialization::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Public Attributes | |
| domain::country | country |
Request to save a country (create or update).
Due to bitemporal storage, both create and update operations result in writing a new record. Database triggers handle temporal versioning automatically.