pub struct OrgEventGeneratorConfig {
pub type_weights: [f64; 6],
pub events_per_year: f64,
}Expand description
Probability distribution across event types.
The six weights correspond to:
[acquisition, divestiture, reorganization, leadership_change, workforce_reduction, merger]
Fields§
§type_weights: [f64; 6]Probability distribution across event types.
events_per_year: f64Average number of events per year.
Trait Implementations§
Source§impl Clone for OrgEventGeneratorConfig
impl Clone for OrgEventGeneratorConfig
Source§fn clone(&self) -> OrgEventGeneratorConfig
fn clone(&self) -> OrgEventGeneratorConfig
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 OrgEventGeneratorConfig
impl Debug for OrgEventGeneratorConfig
Auto Trait Implementations§
impl Freeze for OrgEventGeneratorConfig
impl RefUnwindSafe for OrgEventGeneratorConfig
impl Send for OrgEventGeneratorConfig
impl Sync for OrgEventGeneratorConfig
impl Unpin for OrgEventGeneratorConfig
impl UnsafeUnpin for OrgEventGeneratorConfig
impl UnwindSafe for OrgEventGeneratorConfig
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