pub struct CompileOptions {
pub seed: Option<u64>,
pub scale: Option<f64>,
pub rows: Option<u64>,
pub max_rows: Option<u64>,
pub table_rows: Vec<TableCountOverride>,
pub tables: Vec<String>,
pub exclude: Vec<String>,
pub family_budget_bytes: Option<u64>,
}Expand description
The CLI-supplied knobs a compile honors, mapping one-to-one onto the generation command’s count and selection flags.
Fields§
§seed: Option<u64>Run root seed (--seed); overrides the model’s seed.
scale: Option<f64>Global multiplicative scale (--scale); conflicts with rows.
rows: Option<u64>Global absolute root count (--rows); conflicts with scale.
max_rows: Option<u64>Upper bound applied to every table last (--max-rows).
table_rows: Vec<TableCountOverride>Per-table count overrides (--table-rows/--table-scale).
tables: Vec<String>Table-selection globs (--tables); empty selects every table.
exclude: Vec<String>Table-exclusion globs (--exclude).
family_budget_bytes: Option<u64>The exact in-memory byte budget for each correlated family’s buffered
child rows (--family-budget). None uses a large default; a small
value forces the family spill path. Byte-for-byte output is independent
of this budget — only where child rows are held changes.
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
Source§fn clone(&self) -> CompileOptions
fn clone(&self) -> CompileOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompileOptions
impl Debug for CompileOptions
Source§impl Default for CompileOptions
impl Default for CompileOptions
Source§fn default() -> CompileOptions
fn default() -> CompileOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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