pub struct Arguments {
pub csv: String,
pub sql: String,
pub delimiter: u8,
pub has_headers: bool,
pub table: String,
pub columns: Vec<String>,
pub chunk: usize,
pub chunk_insert: usize,
pub prefix: String,
pub suffix: String,
pub with_transaction: bool,
pub typed: bool,
}
Fields§
§csv: String
§sql: String
§delimiter: u8
§has_headers: bool
§table: String
§columns: Vec<String>
§chunk: usize
§chunk_insert: usize
§prefix: String
§suffix: String
§with_transaction: bool
§typed: bool
Auto Trait Implementations§
impl Freeze for Arguments
impl RefUnwindSafe for Arguments
impl Send for Arguments
impl Sync for Arguments
impl Unpin for Arguments
impl UnwindSafe for Arguments
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