pub struct Limits {
pub max_body_size: Option<usize>,
pub max_header_size: Option<usize>,
pub max_value_size: Option<usize>,
pub form_part_limits: HashMap<String, FormPartLimit>,
}
Fields§
§max_body_size: Option<usize>
§max_header_size: Option<usize>
§max_value_size: Option<usize>
§form_part_limits: HashMap<String, FormPartLimit>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more