From 8168027682f48ddf20314e10233a65902921d4eb Mon Sep 17 00:00:00 2001 From: Bodo Junglas Date: Tue, 4 Dec 2018 13:24:39 +0100 Subject: [PATCH] TEAS-577 [fix] make limit accessible --- src/parse_request.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parse_request.rs b/src/parse_request.rs index dbaacdf..4f78d2f 100644 --- a/src/parse_request.rs +++ b/src/parse_request.rs @@ -9,7 +9,7 @@ use std::fmt; use std::ops::Deref; pub struct ValidatedJsonConfig { - limit: usize, + pub limit: usize, } impl Default for ValidatedJsonConfig { @@ -100,7 +100,7 @@ macro_rules! request_parameter { } pub struct LimitedRawConfig { - limit: usize, + pub limit: usize, } impl Default for LimitedRawConfig {