pub struct SampleGeneratorConfig {
pub items_per_sample: (u32, u32),
pub correct_ratio: f64,
pub misstatement_ratio: f64,
pub exception_ratio: f64,
pub generate_for_non_sampling: bool,
}Expand description
Configuration for the sample generator (ISA 530).
Fields§
§items_per_sample: (u32, u32)Number of items to include in each sample (min, max)
correct_ratio: f64Fraction of items that are correct (no misstatement)
misstatement_ratio: f64Fraction of items that have a misstatement
exception_ratio: f64Fraction of items that have a deviation / exception
generate_for_non_sampling: boolOnly generate samples for workpapers with statistical sampling methods;
when false, any workpaper with population_size > 0 receives a sample.
Trait Implementations§
Source§impl Clone for SampleGeneratorConfig
impl Clone for SampleGeneratorConfig
Source§fn clone(&self) -> SampleGeneratorConfig
fn clone(&self) -> SampleGeneratorConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SampleGeneratorConfig
impl Debug for SampleGeneratorConfig
Auto Trait Implementations§
impl Freeze for SampleGeneratorConfig
impl RefUnwindSafe for SampleGeneratorConfig
impl Send for SampleGeneratorConfig
impl Sync for SampleGeneratorConfig
impl Unpin for SampleGeneratorConfig
impl UnsafeUnpin for SampleGeneratorConfig
impl UnwindSafe for SampleGeneratorConfig
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