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 ListTransactionsByBlockHeightRibsd2Vin {
#[serde(rename = "addresses")]
pub addresses: Vec<String>,
#[serde(rename = "coinbase", skip_serializing_if = "Option::is_none")]
pub coinbase: Option<String>,
#[serde(rename = "scriptSig")]
pub script_sig: Box<crate::models::GetTransactionDetailsByTransactionIdribsdScriptSig>,
#[serde(rename = "sequence")]
pub sequence: String,
#[serde(rename = "txid", skip_serializing_if = "Option::is_none")]
pub txid: Option<String>,
#[serde(rename = "txinwitness")]
pub txinwitness: Vec<String>,
#[serde(rename = "value")]
pub value: String,
#[serde(rename = "vout")]
pub vout: i32,
}
impl ListTransactionsByBlockHeightRibsd2Vin {
pub fn new(addresses: Vec<String>, script_sig: crate::models::GetTransactionDetailsByTransactionIdribsdScriptSig, sequence: String, txinwitness: Vec<String>, value: String, vout: i32) -> ListTransactionsByBlockHeightRibsd2Vin {
ListTransactionsByBlockHeightRibsd2Vin {
addresses,
coinbase: None,
script_sig: Box::new(script_sig),
sequence,
txid: None,
txinwitness,
value,
vout,
}
}
}