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
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListTransactionsByBlockHeightResponseItemBlockchainSpecificEthereumClassic {
#[serde(rename = "contract")]
pub contract: String,
#[serde(rename = "gasLimit")]
pub gas_limit: String,
#[serde(rename = "gasPrice")]
pub gas_price: Box<crate::models::ListTransactionsByBlockHeightResponseItemBlockchainSpecificEthereumClassicGasPrice>,
#[serde(rename = "gasUsed")]
pub gas_used: String,
#[serde(rename = "inputData")]
pub input_data: String,
#[serde(rename = "nonce")]
pub nonce: String,
}
impl ListTransactionsByBlockHeightResponseItemBlockchainSpecificEthereumClassic {
pub fn new(contract: String, gas_limit: String, gas_price: crate::models::ListTransactionsByBlockHeightResponseItemBlockchainSpecificEthereumClassicGasPrice, gas_used: String, input_data: String, nonce: String) -> ListTransactionsByBlockHeightResponseItemBlockchainSpecificEthereumClassic {
ListTransactionsByBlockHeightResponseItemBlockchainSpecificEthereumClassic {
contract,
gas_limit,
gas_price: Box::new(gas_price),
gas_used,
input_data,
nonce,
}
}
}