OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
Loading...
Searching...
No Matches
openpit::accounts::AccountBlockError Struct Reference

#include <accounts.hpp>

Static Public Member Functions

static AccountBlockError FromHandle (OpenPitAccountBlockError *handle)

Public Attributes

std::optional<::openpit::param::AccountIdaccount
std::optional<::openpit::param::AccountGroupIdgroup
AccountBlockErrorKind kind = AccountBlockErrorKind::ReservedGroup
std::string message

Member Function Documentation

◆ FromHandle()

AccountBlockError openpit::accounts::AccountBlockError::FromHandle ( OpenPitAccountBlockError * handle)
inlinestaticnodiscard

Member Data Documentation

◆ account

std::optional<::openpit::param::AccountId> openpit::accounts::AccountBlockError::account

◆ group

std::optional<::openpit::param::AccountGroupId> openpit::accounts::AccountBlockError::group

◆ kind

AccountBlockErrorKind openpit::accounts::AccountBlockError::kind = AccountBlockErrorKind::ReservedGroup

◆ message

std::string openpit::accounts::AccountBlockError::message