xrpld
Loading...
Searching...
No Matches
Import.h
1#pragma once
2
3#include <xrpl/resource/Consumer.h>
4#include <xrpl/resource/detail/Entry.h>
5
6#include <vector>
7
8namespace xrpl::resource {
9
13struct Import
14{
15 struct Item
16 {
17 explicit Item() = default;
18
19 int balance{};
21 };
22
23 // Dummy argument required for zero-copy construction
24 Import(int = 0)
25 {
26 }
27
28 // When the imported data expires
30
31 // List of remote entries
33};
34
35} // namespace xrpl::resource
std::chrono::steady_clock::time_point time_point
An endpoint that consumes resources.
Definition Consumer.h:20
clock_type::time_point whenExpires
Definition Import.h:29
std::vector< Item > items
Definition Import.h:32