diff options
| author | Joris Guyonvarch | 2026-04-18 11:04:47 +0200 |
|---|---|---|
| committer | Joris Guyonvarch | 2026-04-18 11:05:17 +0200 |
| commit | 6d1300640051baa23360846197b54e1e69ae32e3 (patch) | |
| tree | 46219dcf5b5c9e5da0920ffd966d49ba80947a9b /src/queries.rs | |
| parent | b35589eb90f2e5ee5521964e64eb578e9eb99032 (diff) | |
Add balancing capabilities
If payment are too unbalanced, it’s easier to make a transfer.
Diffstat (limited to 'src/queries.rs')
| -rw-r--r-- | src/queries.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/queries.rs b/src/queries.rs index 86a8520..519b00e 100644 --- a/src/queries.rs +++ b/src/queries.rs @@ -79,6 +79,12 @@ pub struct Categories { pub highlight: Option<i64>, } +#[derive(serde::Serialize, serde::Deserialize, Clone)] +pub struct Balancing { + pub page: Option<i64>, + pub highlight: Option<i64>, +} + #[derive(serde::Serialize, serde::Deserialize)] pub struct PaymentCategory { pub payment_name: String, |
