pub struct CsvImportLimits {
pub max_file_bytes: u64,
pub max_record_bytes: usize,
pub max_fields_per_record: usize,
}Expand description
Resource bounds for one LOAD CSV source.
Fields§
§max_file_bytes: u64Maximum bytes read from one file, checked before opening against the file length and again while streaming.
max_record_bytes: usizeMaximum field bytes in one record, excluding quotes and separators.
max_fields_per_record: usizeMaximum fields in one record, including the header record.
Trait Implementations§
Source§impl Clone for CsvImportLimits
impl Clone for CsvImportLimits
impl Copy for CsvImportLimits
Source§impl Debug for CsvImportLimits
impl Debug for CsvImportLimits
Source§impl Default for CsvImportLimits
impl Default for CsvImportLimits
impl Eq for CsvImportLimits
Source§impl PartialEq for CsvImportLimits
impl PartialEq for CsvImportLimits
impl StructuralPartialEq for CsvImportLimits
Auto Trait Implementations§
impl Forget for CsvImportLimits
impl Freeze for CsvImportLimits
impl Move for CsvImportLimits
impl RefUnwindSafe for CsvImportLimits
impl Send for CsvImportLimits
impl Sync for CsvImportLimits
impl Unpin for CsvImportLimits
impl UnsafeUnpin for CsvImportLimits
impl UnwindSafe for CsvImportLimits
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<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> ⓘ
Converts
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> ⓘ
Converts
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