pub struct KernelLimits {
pub max_input_bytes: Option<u32>,
pub max_json_depth: Option<u16>,
pub max_collection_entries: Option<u32>,
pub collection_limits: Option<CollectionLimits>,
}Expand description
Operation-scoped structural limits. These may only tighten KernelBootstrapLimits;
widening any axis rejects the whole ConfigureOperation.
Fields§
§max_input_bytes: Option<u32>§max_json_depth: Option<u16>§max_collection_entries: Option<u32>§collection_limits: Option<CollectionLimits>Per-collection bounds. absolute_max_collection_entries is one number for every container
in the document, which is the wrong granularity for a tool catalog and a knowledge
partition at the same time; each named bound may only tighten it further.
Trait Implementations§
Source§impl Clone for KernelLimits
impl Clone for KernelLimits
Source§fn clone(&self) -> KernelLimits
fn clone(&self) -> KernelLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KernelLimits
impl Debug for KernelLimits
Source§impl Default for KernelLimits
impl Default for KernelLimits
Source§fn default() -> KernelLimits
fn default() -> KernelLimits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KernelLimits
impl<'de> Deserialize<'de> for KernelLimits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KernelLimits
impl PartialEq for KernelLimits
Source§impl Serialize for KernelLimits
impl Serialize for KernelLimits
impl StructuralPartialEq for KernelLimits
Auto Trait Implementations§
impl Freeze for KernelLimits
impl RefUnwindSafe for KernelLimits
impl Send for KernelLimits
impl Sync for KernelLimits
impl Unpin for KernelLimits
impl UnsafeUnpin for KernelLimits
impl UnwindSafe for KernelLimits
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