Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etl::model::Object Struct Reference

Represents a single object on the ledger. More...

#include <Models.hpp>

Public Types

enum class  ModType : int { Unspecified = 0 , Created = 1 , Modified = 2 , Deleted = 3 }
 Modification type for the object. More...

Public Member Functions

bool operator== (Object const &) const =default

Public Attributes

xrpl::uint256 key
 Key of the ledger object.
std::string keyRaw
 Key of the ledger object as raw bytes.
xrpl::Blob data
 Serialized object data; empty if the object was deleted.
std::string dataRaw
 Serialized object data as a string.
std::string successor
 Raw key of the next object in the ledger (first key if unset).
std::string predecessor
 Raw key of the previous object in the ledger (last key if unset).
ModType type
 How the object was modified in this ledger.

Detailed Description

Represents a single object on the ledger.

Member Enumeration Documentation

◆ ModType

enum class etl::model::Object::ModType : int
strong

Modification type for the object.

Enumerator
Unspecified 

Modification type was not provided.

Created 

Object was created in this ledger.

Modified 

Object was modified in this ledger.

Deleted 

Object was deleted in this ledger.


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