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

Response containing roles assigned to an account. More...

#include <authorization_protocol.hpp>

Collaboration diagram for get_account_roles_response:
Collaboration graph

Public Member Functions

std::vector< std::byte > serialize () const
 Serialize response to bytes.
 

Static Public Member Functions

static std::expected< get_account_roles_response, comms::messaging::error_code > deserialize (std::span< const std::byte > data)
 Deserialize response from bytes.
 

Public Attributes

std::vector< domain::roleroles
 

Detailed Description

Response containing roles assigned to an account.

Member Function Documentation

◆ serialize()

std::vector< std::byte > serialize ( ) const

Serialize response to bytes.

Format: Same as list_roles_response.