pub struct ConfirmationGenerator { /* private fields */ }Expand description
Generates ExternalConfirmation instances for a given audit engagement.
Implementations§
Source§impl ConfirmationGenerator
impl ConfirmationGenerator
Sourcepub fn with_config(seed: u64, config: ConfirmationGeneratorConfig) -> Self
pub fn with_config(seed: u64, config: ConfirmationGeneratorConfig) -> Self
Create a new generator with the given seed and custom config.
Sourcepub fn generate_confirmations(
&mut self,
engagement_id: Uuid,
base_date: NaiveDate,
) -> Vec<ExternalConfirmation>
pub fn generate_confirmations( &mut self, engagement_id: Uuid, base_date: NaiveDate, ) -> Vec<ExternalConfirmation>
Generate confirmations for an audit engagement.
Returns config.confirmation_count confirmations with realistic
response statuses, reconciliation details, and alternative procedures.
Auto Trait Implementations§
impl Freeze for ConfirmationGenerator
impl RefUnwindSafe for ConfirmationGenerator
impl Send for ConfirmationGenerator
impl Sync for ConfirmationGenerator
impl Unpin for ConfirmationGenerator
impl UnsafeUnpin for ConfirmationGenerator
impl UnwindSafe for ConfirmationGenerator
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