pub struct OcpmGeneratorConfig {
pub generate_p2p: bool,
pub generate_o2c: bool,
pub happy_path_rate: f64,
pub exception_path_rate: f64,
pub error_path_rate: f64,
pub add_duration_variability: bool,
pub duration_std_dev_factor: f64,
}Expand description
Configuration for OCPM event generation.
Fields§
§generate_p2p: boolEnable P2P process events
generate_o2c: boolEnable O2C process events
happy_path_rate: f64Rate of happy path (normal) variants
exception_path_rate: f64Rate of exception path variants
error_path_rate: f64Rate of error path variants
add_duration_variability: boolAdd duration variability to events
duration_std_dev_factor: f64Standard deviation factor for duration
Trait Implementations§
Source§impl Clone for OcpmGeneratorConfig
impl Clone for OcpmGeneratorConfig
Source§fn clone(&self) -> OcpmGeneratorConfig
fn clone(&self) -> OcpmGeneratorConfig
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 OcpmGeneratorConfig
impl Debug for OcpmGeneratorConfig
Auto Trait Implementations§
impl Freeze for OcpmGeneratorConfig
impl RefUnwindSafe for OcpmGeneratorConfig
impl Send for OcpmGeneratorConfig
impl Sync for OcpmGeneratorConfig
impl Unpin for OcpmGeneratorConfig
impl UnwindSafe for OcpmGeneratorConfig
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