pub struct DocLimits {
pub max_file_bytes: u64,
pub max_output_chars: usize,
pub max_pages: usize,
pub max_sheets: usize,
pub max_rows: usize,
pub max_cols: usize,
pub max_cells: usize,
pub max_zip_entries: usize,
pub max_decompressed_bytes: u64,
}Expand description
Host-level limits for document extraction. Register in
graphrt_core::Services to override the defaults; workflow config can only
lower them.
Fields§
§max_file_bytes: u64Maximum size of one input file in bytes.
max_output_chars: usizeMaximum characters of extracted text per file (longer text is truncated).
max_pages: usizeMaximum PDF pages / slides / EPUB chapters.
max_sheets: usizeMaximum spreadsheet sheets.
max_rows: usizeMaximum rows per sheet or CSV file.
max_cols: usizeMaximum columns of any table.
max_cells: usizeMaximum non-empty cells per spreadsheet sheet.
max_zip_entries: usizeMaximum zip entries.
max_decompressed_bytes: u64Maximum total decompressed bytes from a zip container.
Trait Implementations§
impl Copy for DocLimits
impl Eq for DocLimits
impl StructuralPartialEq for DocLimits
Auto Trait Implementations§
impl Forget for DocLimits
impl Freeze for DocLimits
impl Move for DocLimits
impl RefUnwindSafe for DocLimits
impl Send for DocLimits
impl Sync for DocLimits
impl Unpin for DocLimits
impl UnsafeUnpin for DocLimits
impl UnwindSafe for DocLimits
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.