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
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetTransactionDetailsByTransactionIdribsl {
#[serde(rename = "locktime")]
pub locktime: i32,
#[serde(rename = "size")]
pub size: i32,
#[serde(rename = "version")]
pub version: i32,
#[serde(rename = "vin")]
pub vin: Vec<crate::models::GetTransactionDetailsByTransactionIdribslVin>,
#[serde(rename = "vout")]
pub vout: Vec<crate::models::GetTransactionDetailsByTransactionIdribslVout>,
#[serde(rename = "vsize")]
pub vsize: i32,
}
impl GetTransactionDetailsByTransactionIdribsl {
pub fn new(locktime: i32, size: i32, version: i32, vin: Vec<crate::models::GetTransactionDetailsByTransactionIdribslVin>, vout: Vec<crate::models::GetTransactionDetailsByTransactionIdribslVout>, vsize: i32) -> GetTransactionDetailsByTransactionIdribsl {
GetTransactionDetailsByTransactionIdribsl {
locktime,
size,
version,
vin,
vout,
vsize,
}
}
}