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
6namespace xrpl::Resource {
7
9struct Import
10{
11 struct Item
12 {
13 explicit Item() = default;
14
15 int balance{};
17 };
18
19 // Dummy argument required for zero-copy construction
20 Import(int = 0)
21 {
22 }
23
24 // When the imported data expires
26
27 // List of remote entries
29};
30
31} // namespace xrpl::Resource
std::chrono::steady_clock::time_point time_point
An endpoint that consumes resources.
Definition Consumer.h:15
std::vector< Item > items
Definition Import.h:28
clock_type::time_point whenExpires
Definition Import.h:25