pub struct GeneratorOptions {
pub target_size_bytes: Option<usize>,
pub target_count: Option<usize>,
}Expand description
Options for the generation process.
Fields§
§target_size_bytes: Option<usize>If provided, the generator will wrap the schema in an array and repeat it until the approximate byte size is reached.
target_count: Option<usize>If provided, the generator will wrap the schema in an array and repeat
it exactly target_count times.
Auto Trait Implementations§
impl Freeze for GeneratorOptions
impl RefUnwindSafe for GeneratorOptions
impl Send for GeneratorOptions
impl Sync for GeneratorOptions
impl Unpin for GeneratorOptions
impl UnsafeUnpin for GeneratorOptions
impl UnwindSafe for GeneratorOptions
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