pub struct InferenceOptions {
pub max_records: usize,
pub max_bytes: usize,
}Expand description
Bounds the records retained for schema inference.
Fields§
§max_records: usizeMaximum sampled records. Default: 128.
max_bytes: usizeMaximum sampled serialized XML bytes. Default: 8 MiB.
One additional record may be read ahead, bounded by max_record_bytes.
Trait Implementations§
Source§impl Clone for InferenceOptions
impl Clone for InferenceOptions
Source§impl Debug for InferenceOptions
impl Debug for InferenceOptions
Auto Trait Implementations§
impl Forget for InferenceOptions
impl Freeze for InferenceOptions
impl RefUnwindSafe for InferenceOptions
impl Send for InferenceOptions
impl Sync for InferenceOptions
impl Unpin for InferenceOptions
impl UnsafeUnpin for InferenceOptions
impl UnwindSafe for InferenceOptions
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
Mutably borrows from an owned value. Read more