pub struct Limits {
pub max_input_bytes: usize,
pub max_parameters: usize,
pub max_component_bytes: usize,
}Expand description
Limits include ignored and repeated parameters. Decoded bytes cannot exceed the input budget; each key and value additionally has its own byte cap.
Fields§
§max_input_bytes: usize§max_parameters: usize§max_component_bytes: usizeTrait 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 UnsafeUnpin 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