make PayloadConfig.limit private

This commit is contained in:
fakeshadow 2021-01-27 01:59:37 -08:00
parent 8a155fa5ef
commit d02aae5519
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ fn bytes_to_string(body: Bytes, encoding: &'static Encoding) -> Result<String, E
/// `.app_data()` methods. /// `.app_data()` methods.
#[derive(Clone)] #[derive(Clone)]
pub struct PayloadConfig { pub struct PayloadConfig {
pub limit: usize, limit: usize,
mimetype: Option<Mime>, mimetype: Option<Mime>,
} }