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

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