pub struct ResolvedField {
pub field: &'static Field,
pub modifier: String,
pub transform: Transform,
pub range: Option<RangeSpec>,
pub ordering: Ordering,
pub alias: Option<String>,
pub omit_pct: Option<u8>,
pub zipf: Option<ZipfSpec>,
}Fields§
§field: &'static Field§modifier: String§transform: Transform§range: Option<RangeSpec>§ordering: Ordering§alias: Option<String>Explicit column name from name=field syntax. Overrides display_name().
omit_pct: Option<u8>Percentage of rows where this field is omitted (outputs NULL). 0–100.
zipf: Option<ZipfSpec>Zipf distribution over the range instead of uniform.
Implementations§
Source§impl ResolvedField
impl ResolvedField
Sourcepub fn column_name(&self) -> String
pub fn column_name(&self) -> String
Column name: explicit alias if set, otherwise auto-derived.
Sourcepub fn display_name(&self) -> String
pub fn display_name(&self) -> String
Auto-derived name for CSV/JSON headers.
Sourcepub fn domain_key(&self) -> String
pub fn domain_key(&self) -> String
Stable domain key for RNG derivation — uses field id, never changes.
Auto Trait Implementations§
impl Freeze for ResolvedField
impl RefUnwindSafe for ResolvedField
impl Send for ResolvedField
impl Sync for ResolvedField
impl Unpin for ResolvedField
impl UnsafeUnpin for ResolvedField
impl UnwindSafe for ResolvedField
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