|
ORE Studio 0.0.4
|
Request to update an existing account. More...
#include <account_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< update_account_request, comms::messaging::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Public Attributes | |
| boost::uuids::uuid | account_id |
| std::string | |
| std::string | recorded_by |
| bool | is_admin = false |
Request to update an existing account.
Only email and is_admin fields can be updated. Username cannot be changed. Requires admin privileges.
| std::vector< std::byte > serialize | ( | ) | const |
Serialize request to bytes.
Format: