pub struct LoadBudget {
pub max_chart_archive_bytes: usize,
pub max_schema_document_bytes: usize,
pub max_chart_archive_entries: usize,
pub max_chart_archive_unpacked_bytes: usize,
}Expand description
Byte budgets for input assembly and local preparation work.
These limits are intentionally generous defaults. They exist to make archive extraction and external schema ingestion bounded by policy instead of accidentally unbounded.
Fields§
§max_chart_archive_bytes: usizeMaximum compressed chart archive size.
max_schema_document_bytes: usizeMaximum size of one loaded JSON Schema document.
max_chart_archive_entries: usizeMaximum number of members accepted in a chart archive.
max_chart_archive_unpacked_bytes: usizeMaximum aggregate uncompressed size of chart archive members.
Implementations§
Trait Implementations§
Source§impl Clone for LoadBudget
impl Clone for LoadBudget
Source§fn clone(&self) -> LoadBudget
fn clone(&self) -> LoadBudget
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 moreimpl Copy for LoadBudget
Source§impl Debug for LoadBudget
impl Debug for LoadBudget
Source§impl Default for LoadBudget
impl Default for LoadBudget
impl Eq for LoadBudget
Source§impl PartialEq for LoadBudget
impl PartialEq for LoadBudget
impl StructuralPartialEq for LoadBudget
Auto Trait Implementations§
impl Freeze for LoadBudget
impl RefUnwindSafe for LoadBudget
impl Send for LoadBudget
impl Sync for LoadBudget
impl Unpin for LoadBudget
impl UnsafeUnpin for LoadBudget
impl UnwindSafe for LoadBudget
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.