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
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionsResponseData {
#[serde(rename = "transactions")]
pub transactions: Vec<crate::models::TransactionDetail>,
#[serde(rename = "server_knowledge")]
pub server_knowledge: i64,
}
impl TransactionsResponseData {
pub fn new(transactions: Vec<crate::models::TransactionDetail>, server_knowledge: i64) -> TransactionsResponseData {
TransactionsResponseData {
transactions: transactions,
server_knowledge: server_knowledge,
}
}
}