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
|
#[derive(Debug, serde::Serialize)]
pub struct TableRow {
pub id: i64,
pub date: String,
pub source: String,
pub destination: String,
pub amount: i64,
}
#[derive(serde::Serialize, Clone)]
pub struct Balancing {
pub id: i64,
pub source: i64,
pub destination: i64,
pub amount: i64,
}
#[derive(Debug)]
pub struct Create {
pub source: i64,
pub destination: i64,
pub amount: i64,
}
#[derive(Debug)]
pub struct Update {
pub source: i64,
pub destination: i64,
pub amount: i64,
}
|