pub struct Limits {
pub bytes: usize,
pub nodes: usize,
pub depth: usize,
pub parameters: BTreeMap<String, i64>,
}Expand description
Resource budgets applied before traversing untrusted records.
Fields§
§bytes: usizeMaximum input or output bytes.
nodes: usizeMaximum traversal nodes, including scalar values.
depth: usizeMaximum nested traversal depth.
parameters: BTreeMap<String, i64>Explicit nonserialized layout parameters, such as OPD gridCell and UIF fileVersion.
Trait 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