pub struct EmployeeMasterConfig {
pub count: usize,
pub generate_hierarchy: bool,
pub max_hierarchy_depth: u8,
pub average_span_of_control: f64,
pub approval_limits: ApprovalLimitDistribution,
pub department_distribution: EmployeeDepartmentDistribution,
}Expand description
Employee master data configuration.
Fields§
§count: usizeNumber of employees to generate
generate_hierarchy: boolGenerate organizational hierarchy
max_hierarchy_depth: u8Maximum hierarchy depth
average_span_of_control: f64Average span of control (direct reports per manager)
approval_limits: ApprovalLimitDistributionApproval limit distribution by job level
department_distribution: EmployeeDepartmentDistributionDepartment distribution
Trait Implementations§
Source§impl Clone for EmployeeMasterConfig
impl Clone for EmployeeMasterConfig
Source§fn clone(&self) -> EmployeeMasterConfig
fn clone(&self) -> EmployeeMasterConfig
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 EmployeeMasterConfig
impl Debug for EmployeeMasterConfig
Source§impl Default for EmployeeMasterConfig
impl Default for EmployeeMasterConfig
Source§impl<'de> Deserialize<'de> for EmployeeMasterConfig
impl<'de> Deserialize<'de> for EmployeeMasterConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EmployeeMasterConfig
impl RefUnwindSafe for EmployeeMasterConfig
impl Send for EmployeeMasterConfig
impl Sync for EmployeeMasterConfig
impl Unpin for EmployeeMasterConfig
impl UnwindSafe for EmployeeMasterConfig
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