[−][src]Struct dbgen::cli::Args
Arguments to the dbgen
CLI program.
Fields
qualified: bool
Keep the qualified name when writing the SQL statements.
table_name: Option<String>
Override the table name.
out_dir: PathBuf
Output directory.
files_count: u32
Number of files to generate.
inserts_count: u32
Number of INSERT statements per file.
rows_count: u32
Number of rows per INSERT statement.
last_file_inserts_count: Option<u32>
Number of INSERT statements in the last file.
last_insert_rows_count: Option<u32>
Number of rows of the last INSERT statement of the last file.
escape_backslash: bool
Do not escape backslashes when writing a string.
template: PathBuf
Generation template file.
seed: Option<<StdRng as SeedableRng>::Seed>
Random number generator seed.
jobs: usize
Number of jobs to run in parallel, default to number of CPUs.
rng: RngName
Random number generator engine
quiet: bool
Disable progress bar.
time_zone: Tz
Timezone
format: FormatName
Output format
compression: Option<CompressionName>
Output compression
compress_level: u8
Output compression level
Trait Implementations
impl Default for Args
[src]
The default implementation of the argument suitable for testing.
impl Debug for Args
[src]
impl<'de> Deserialize<'de> for Args where
Args: Default,
[src]
Args: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructOpt for Args
[src]
fn clap<'a, 'b>() -> App<'a, 'b>
[src]
fn from_clap(matches: &ArgMatches) -> Self
[src]
default fn from_args() -> Self
[src]
Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more
default fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making. Print the error message and quit the program in case of failure. Read more
default fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,