Monero C++ Library
Loading...
Searching...
No Matches
monero::monero_destination Struct Reference

#include <monero_wallet_model.h>

Inheritance diagram for monero::monero_destination:
monero::serializable_struct

Public Member Functions

 monero_destination (boost::optional< std::string > address=boost::none, boost::optional< uint64_t > amount=boost::none)
 
rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const
 
std::shared_ptr< monero_destinationcopy (const std::shared_ptr< monero_destination > &src, const std::shared_ptr< monero_destination > &tgt) const
 
- 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_destination > &destination)
 

Public Attributes

boost::optional< std::string > m_address
 
boost::optional< uint64_t > m_amount
 

Detailed Description

Models an outgoing transfer destination.

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_destination::to_rapidjson_val ( rapidjson::Document::AllocatorType & allocator) const
virtual

Converts the struct to a rapidjson Value.

Parameters
allocatoris the rapidjson document allocator
Returns
the struct as a rapidjson Value

Implements monero::serializable_struct.


The documentation for this struct was generated from the following files: