pub struct Inferrer { /* private fields */ }Expand description
Infers column types. See the module docs.
Implementations§
Source§impl Inferrer
impl Inferrer
Sourcepub fn null_tokens(
self,
tokens: impl IntoIterator<Item = impl Into<String>>,
) -> Self
pub fn null_tokens( self, tokens: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Replace the null tokens (compared after trimming whitespace).
Sourcepub fn override_type(
self,
column: impl Into<String>,
data_type: InferredType,
) -> Self
pub fn override_type( self, column: impl Into<String>, data_type: InferredType, ) -> Self
Give the column called column this type, whatever its cells say.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inferrer
impl RefUnwindSafe for Inferrer
impl Send for Inferrer
impl Sync for Inferrer
impl Unpin for Inferrer
impl UnsafeUnpin for Inferrer
impl UnwindSafe for Inferrer
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