pub struct DecoderOptions { /* private fields */ }
Implementations
sourceimpl DecoderOptions
impl DecoderOptions
pub fn new() -> Self
sourcepub fn with_batch_size(self, batch_size: usize) -> Self
pub fn with_batch_size(self, batch_size: usize) -> Self
Set the batch size (number of records to load at one time)
sourcepub fn with_projection(self, projection: Vec<String>) -> Self
pub fn with_projection(self, projection: Vec<String>) -> Self
Set the reader’s column projection
sourcepub fn with_format_strings(
self,
format_strings: HashMap<String, String>
) -> Self
pub fn with_format_strings(
self,
format_strings: HashMap<String, String>
) -> Self
Set the decoder’s format Strings param
Trait Implementations
sourceimpl Debug for DecoderOptions
impl Debug for DecoderOptions
Auto Trait Implementations
impl RefUnwindSafe for DecoderOptions
impl Send for DecoderOptions
impl Sync for DecoderOptions
impl Unpin for DecoderOptions
impl UnwindSafe for DecoderOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more