pub struct SubsequentEventGeneratorConfig {
pub max_events_per_period: u32,
pub discovery_window_days: (i64, i64),
pub adjusting_probability: f64,
pub financial_impact_range: (f64, f64),
}Expand description
Configuration for subsequent event generation.
Fields§
§max_events_per_period: u32Maximum number of events per period-end (actual count is 0..=max)
discovery_window_days: (i64, i64)Window in days after period-end during which events are discovered (min, max)
adjusting_probability: f64Probability that an event is adjusting (vs non-adjusting)
financial_impact_range: (f64, f64)Range for financial impact (min, max) in reporting currency units
Trait Implementations§
Source§impl Clone for SubsequentEventGeneratorConfig
impl Clone for SubsequentEventGeneratorConfig
Source§fn clone(&self) -> SubsequentEventGeneratorConfig
fn clone(&self) -> SubsequentEventGeneratorConfig
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 moreAuto Trait Implementations§
impl Freeze for SubsequentEventGeneratorConfig
impl RefUnwindSafe for SubsequentEventGeneratorConfig
impl Send for SubsequentEventGeneratorConfig
impl Sync for SubsequentEventGeneratorConfig
impl Unpin for SubsequentEventGeneratorConfig
impl UnsafeUnpin for SubsequentEventGeneratorConfig
impl UnwindSafe for SubsequentEventGeneratorConfig
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