pub struct GeneratorConfig {
pub schema: SchemaType,
pub rate: u64,
pub duration_secs: u64,
pub anomaly_rate: f64,
pub seed: Option<u64>,
}Expand description
Configuration for the event generator.
Fields§
§schema: SchemaTypeSchema to use for event generation.
rate: u64Events per second to generate.
duration_secs: u64Total duration in seconds (0 = infinite).
anomaly_rate: f64Fraction of events that should contain injected anomaly patterns (0.0-1.0).
seed: Option<u64>Random seed for reproducibility (None = random).
Trait Implementations§
Source§impl Clone for GeneratorConfig
impl Clone for GeneratorConfig
Source§fn clone(&self) -> GeneratorConfig
fn clone(&self) -> GeneratorConfig
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 GeneratorConfig
impl Debug for GeneratorConfig
Auto Trait Implementations§
impl Freeze for GeneratorConfig
impl RefUnwindSafe for GeneratorConfig
impl Send for GeneratorConfig
impl Sync for GeneratorConfig
impl Unpin for GeneratorConfig
impl UnsafeUnpin for GeneratorConfig
impl UnwindSafe for GeneratorConfig
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