From e46af5e1e95889bbf317a2d6a6d35f4bb20d2ca4 Mon Sep 17 00:00:00 2001 From: jwhb Date: Sat, 12 Aug 2023 17:26:55 +0000 Subject: [PATCH] stmt: counter values as usize --- src/stmt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stmt.rs b/src/stmt.rs index f16c8fd..df23c19 100644 --- a/src/stmt.rs +++ b/src/stmt.rs @@ -118,10 +118,10 @@ pub struct Match { pub struct Counter { #[serde(skip_serializing_if = "Option::is_none")] /// Packets counted. - pub packets: Option, + pub packets: Option, #[serde(skip_serializing_if = "Option::is_none")] /// Bytes counted. - pub bytes: Option, + pub bytes: Option, } #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]