pub struct RequestLimitsConfig {
pub max_request_size: usize,
pub max_parameters: usize,
pub max_parameter_size: usize,
pub max_string_length: usize,
pub max_array_length: usize,
pub max_object_depth: usize,
pub max_object_keys: usize,
}
Expand description
Configuration for request size and complexity limits
Fields§
§max_request_size: usize
Maximum request size in bytes
max_parameters: usize
Maximum number of parameters
max_parameter_size: usize
Maximum size for any single parameter value
max_string_length: usize
Maximum string length for text parameters
max_array_length: usize
Maximum array length
max_object_depth: usize
Maximum object depth (nested objects)
max_object_keys: usize
Maximum number of keys in an object
Trait Implementations§
Source§impl Clone for RequestLimitsConfig
impl Clone for RequestLimitsConfig
Source§fn clone(&self) -> RequestLimitsConfig
fn clone(&self) -> RequestLimitsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RequestLimitsConfig
impl Debug for RequestLimitsConfig
Auto Trait Implementations§
impl Freeze for RequestLimitsConfig
impl RefUnwindSafe for RequestLimitsConfig
impl Send for RequestLimitsConfig
impl Sync for RequestLimitsConfig
impl Unpin for RequestLimitsConfig
impl UnwindSafe for RequestLimitsConfig
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