pub struct WorkbookLoadLimits {
pub max_sheet_rows: u32,
pub max_sheet_cols: u32,
pub max_sheet_logical_cells: u64,
pub max_formula_plane_fallback_cells: u64,
pub sparse_sheet_cell_threshold: u64,
pub max_sparse_cell_ratio: u64,
pub max_formula_spool_bytes_per_sheet: u64,
pub max_formula_spool_bytes_per_workbook: u64,
pub max_formula_spool_files_per_workbook: u32,
pub formula_spool_memory_prefix_bytes: u64,
pub max_formula_spool_memory_bytes: u64,
pub formula_spool_disk_policy: FormulaSpoolDiskPolicy,
}Expand description
Workbook ingest limits applied by loader backends before they materialize large sheets.
Fields§
§max_sheet_rows: u32Hard cap for declared/logical sheet rows.
max_sheet_cols: u32Hard cap for declared/logical sheet columns.
max_sheet_logical_cells: u64Hard cap for the rectangular logical area a backend may materialize.
max_formula_plane_fallback_cells: u64Hard cap for formulas materialized by one FormulaPlane fallback.
sparse_sheet_cell_threshold: u64Sparse-sheet checks only trigger once a sheet reaches this many logical cells.
max_sparse_cell_ratio: u64Maximum allowed logical-to-populated-cell ratio once the sparse threshold is crossed.
max_formula_spool_bytes_per_sheet: u64Maximum encoded formula replay bytes retained for one sheet.
max_formula_spool_bytes_per_workbook: u64Maximum encoded formula replay bytes produced across one workbook load.
max_formula_spool_files_per_workbook: u32Maximum number of native spill files created across one workbook load.
formula_spool_memory_prefix_bytes: u64Encoded bytes retained in memory before native spill.
max_formula_spool_memory_bytes: u64Independent cap for a memory-only formula replay spool.
formula_spool_disk_policy: FormulaSpoolDiskPolicyWhether formula replay data may use secure native temporary storage.
Trait Implementations§
Source§impl Clone for WorkbookLoadLimits
impl Clone for WorkbookLoadLimits
Source§fn clone(&self) -> WorkbookLoadLimits
fn clone(&self) -> WorkbookLoadLimits
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WorkbookLoadLimits
impl Debug for WorkbookLoadLimits
Source§impl Default for WorkbookLoadLimits
impl Default for WorkbookLoadLimits
impl Eq for WorkbookLoadLimits
Source§impl PartialEq for WorkbookLoadLimits
impl PartialEq for WorkbookLoadLimits
impl StructuralPartialEq for WorkbookLoadLimits
Auto Trait Implementations§
impl Freeze for WorkbookLoadLimits
impl RefUnwindSafe for WorkbookLoadLimits
impl Send for WorkbookLoadLimits
impl Sync for WorkbookLoadLimits
impl Unpin for WorkbookLoadLimits
impl UnsafeUnpin for WorkbookLoadLimits
impl UnwindSafe for WorkbookLoadLimits
Blanket Implementations§
impl<T> Allocation for T
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
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more