ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
save_country_request Struct Referencefinal

Request to save a country (create or update). More...

#include <country_protocol.hpp>

Collaboration diagram for save_country_request:
Collaboration graph

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
 

Detailed Description

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.