pub struct PayloadLimits {
pub max_size: Option<usize>,
pub max_nesting_depth: Option<usize>,
pub max_calls: Option<usize>,
pub max_components: Option<usize>,
}Expand description
The limits that guard the update endpoint. None disables a limit.
Fields§
§max_size: Option<usize>The largest request body, in bytes.
max_nesting_depth: Option<usize>The deepest dot-notation property path an update may set.
max_calls: Option<usize>The most method calls a batch may make.
max_components: Option<usize>The most components a batch may update.
Trait Implementations§
Source§impl Clone for PayloadLimits
impl Clone for PayloadLimits
impl Copy for PayloadLimits
Source§impl Debug for PayloadLimits
impl Debug for PayloadLimits
Source§impl Default for PayloadLimits
impl Default for PayloadLimits
impl Eq for PayloadLimits
Source§impl PartialEq for PayloadLimits
impl PartialEq for PayloadLimits
impl StructuralPartialEq for PayloadLimits
Auto Trait Implementations§
impl Forget for PayloadLimits
impl Freeze for PayloadLimits
impl Move for PayloadLimits
impl RefUnwindSafe for PayloadLimits
impl Send for PayloadLimits
impl Sync for PayloadLimits
impl Unpin for PayloadLimits
impl UnsafeUnpin for PayloadLimits
impl UnwindSafe for PayloadLimits
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.