|
Monero C++ Library
|
#include <monero_daemon_model.h>
Public Member Functions | |
| monero_bandwidth_limits (int up, int down) | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Static Public Member Functions | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_bandwidth_limits > &limits) |
Public Attributes | |
| boost::optional< int > | m_up |
| boost::optional< int > | m_down |
Models connection bandwidth limits.
|
overridevirtual |
Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.