pub struct CsvRows<R> { /* private fields */ }Expand description
Streams the rows LOAD CSV binds to its variable.
Without headers a row is a list of strings. With headers it is a map from
each header to the field in the same position. An empty unquoted field
and a field missing from a short record are NULL; a quoted empty field
is the empty string. Fields beyond the header count are ignored.
Implementations§
Auto Trait Implementations§
impl<R> Freeze for CsvRows<R>where
CsvRecordReader<R>: Freeze,
impl<R> RefUnwindSafe for CsvRows<R>where
CsvRecordReader<R>: RefUnwindSafe,
impl<R> Send for CsvRows<R>where
CsvRecordReader<R>: Send,
impl<R> Sync for CsvRows<R>where
CsvRecordReader<R>: Sync,
impl<R> Unpin for CsvRows<R>where
CsvRecordReader<R>: Unpin,
impl<R> UnsafeUnpin for CsvRows<R>where
CsvRecordReader<R>: UnsafeUnpin,
impl<R> UnwindSafe for CsvRows<R>where
CsvRecordReader<R>: UnwindSafe,
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> 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