1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListXrpRippleTransactionsByBlockHeightRi {
#[serde(rename = "additionalData", skip_serializing_if = "Option::is_none")]
pub additional_data: Option<String>,
#[serde(rename = "index")]
pub index: i32,
#[serde(rename = "minedInBlockHash")]
pub mined_in_block_hash: String,
#[serde(rename = "recipients")]
pub recipients: Vec<crate::models::ListXrpRippleTransactionsByBlockHeightRiRecipients>,
#[serde(rename = "senders")]
pub senders: Vec<crate::models::ListXrpRippleTransactionsByBlockHeightRiSenders>,
#[serde(rename = "sequence")]
pub sequence: i32,
#[serde(rename = "status")]
pub status: String,
#[serde(rename = "timestamp")]
pub timestamp: i32,
#[serde(rename = "transactionHash")]
pub transaction_hash: String,
#[serde(rename = "type")]
pub _type: String,
#[serde(rename = "fee")]
pub fee: Box<crate::models::ListXrpRippleTransactionsByBlockHeightRiFee>,
#[serde(rename = "offer")]
pub offer: Box<crate::models::ListXrpRippleTransactionsByBlockHeightRiOffer>,
#[serde(rename = "receive")]
pub receive: Box<crate::models::ListXrpRippleTransactionsByBlockHeightRiReceive>,
#[serde(rename = "value")]
pub value: Box<crate::models::ListXrpRippleTransactionsByBlockHeightRiValue>,
}
impl ListXrpRippleTransactionsByBlockHeightRi {
pub fn new(index: i32, mined_in_block_hash: String, recipients: Vec<crate::models::ListXrpRippleTransactionsByBlockHeightRiRecipients>, senders: Vec<crate::models::ListXrpRippleTransactionsByBlockHeightRiSenders>, sequence: i32, status: String, timestamp: i32, transaction_hash: String, _type: String, fee: crate::models::ListXrpRippleTransactionsByBlockHeightRiFee, offer: crate::models::ListXrpRippleTransactionsByBlockHeightRiOffer, receive: crate::models::ListXrpRippleTransactionsByBlockHeightRiReceive, value: crate::models::ListXrpRippleTransactionsByBlockHeightRiValue) -> ListXrpRippleTransactionsByBlockHeightRi {
ListXrpRippleTransactionsByBlockHeightRi {
additional_data: None,
index,
mined_in_block_hash,
recipients,
senders,
sequence,
status,
timestamp,
transaction_hash,
_type,
fee: Box::new(fee),
offer: Box::new(offer),
receive: Box::new(receive),
value: Box::new(value),
}
}
}