Struct locustdb::LoadOptions
source · pub struct LoadOptions { /* private fields */ }
Implementations§
source§impl Options
impl Options
pub fn new<P: AsRef<Path>>(filename: P, tablename: &str) -> Options
pub fn with_schema(self, schema: &str) -> Options
pub fn with_partition_size(self, chunk_size: usize) -> Options
pub fn with_column_names(self, col_names: Vec<String>) -> Options
pub fn with_extractors(self, extractors: &[(usize, Extractor)]) -> Options
pub fn with_ignore_cols(self, ignore: &[usize]) -> Options
pub fn with_always_string(self, always_string: &[usize]) -> Options
pub fn allow_nulls(self, allow_nulls: &[usize]) -> Options
pub fn allow_nulls_all_columns(self) -> Options
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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