pub struct VldBodyLimit(pub usize);Expand description
Body size limit in bytes, registered as request/app data for the adapters
without a framework-native body limit setting (vld-actix app_data,
vld-ntex app state, vld-poem .data(..); vld-rama has its own
extension type).
Without it those adapters use DEFAULT_BODY_LIMIT.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for VldBodyLimit
impl Clone for VldBodyLimit
impl Copy for VldBodyLimit
Source§impl Debug for VldBodyLimit
impl Debug for VldBodyLimit
impl Eq for VldBodyLimit
Source§impl PartialEq for VldBodyLimit
impl PartialEq for VldBodyLimit
impl StructuralPartialEq for VldBodyLimit
Auto Trait Implementations§
impl Forget for VldBodyLimit
impl Freeze for VldBodyLimit
impl RefUnwindSafe for VldBodyLimit
impl Send for VldBodyLimit
impl Sync for VldBodyLimit
impl Unpin for VldBodyLimit
impl UnsafeUnpin for VldBodyLimit
impl UnwindSafe for VldBodyLimit
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