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
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListTransactionsByBlockHeightRibszVin {
#[serde(rename = "addresses")]
pub addresses: Vec<String>,
#[serde(rename = "coinbase")]
pub coinbase: String,
#[serde(rename = "scriptSig")]
pub script_sig: Box<crate::models::ListTransactionsByBlockHeightRibszScriptSig>,
#[serde(rename = "sequence")]
pub sequence: i32,
#[serde(rename = "txid")]
pub txid: String,
#[serde(rename = "txinwitness")]
pub txinwitness: Vec<String>,
#[serde(rename = "value")]
pub value: String,
#[serde(rename = "vout")]
pub vout: i32,
}
impl ListTransactionsByBlockHeightRibszVin {
pub fn new(addresses: Vec<String>, coinbase: String, script_sig: crate::models::ListTransactionsByBlockHeightRibszScriptSig, sequence: i32, txid: String, txinwitness: Vec<String>, value: String, vout: i32) -> ListTransactionsByBlockHeightRibszVin {
ListTransactionsByBlockHeightRibszVin {
addresses,
coinbase,
script_sig: Box::new(script_sig),
sequence,
txid,
txinwitness,
value,
vout,
}
}
}