diff options
| author | batsumaru <> | 2026-10-16 15:36:40 +0900 |
|---|---|---|
| committer | batsumaru <> | 2026-10-16 15:36:40 +0900 |
| commit | 289cdfd01ec2dda208de3cd67313c57133c1f092 (patch) | |
| tree | fbd56d052877776f333af7690b2b804ed98f9ef7 /src/models.rs | |
| parent | 7afd3da7b870fc56e54d04b131c1caf975a30f2c (diff) | |
Add metric type filtering
Diffstat (limited to 'src/models.rs')
| -rw-r--r-- | src/models.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models.rs b/src/models.rs index 102860b..15da87b 100644 --- a/src/models.rs +++ b/src/models.rs @@ -95,6 +95,7 @@ pub enum Order { pub struct ListQuery { pub from: Option<DateTime<Utc>>, pub to: Option<DateTime<Utc>>, + pub metric_type: Option<MetricType>, pub limit: Option<i64>, #[serde(default)] pub order: Order, |
