pub struct DiversitySchemaConfig {
pub enabled: bool,
pub dimensions: Vec<String>,
}Expand description
Workforce diversity configuration.
Fields§
§enabled: boolWhether diversity metrics are generated.
dimensions: Vec<String>Dimensions to track (e.g., “gender”, “ethnicity”, “age_group”).
Trait Implementations§
Source§impl Clone for DiversitySchemaConfig
impl Clone for DiversitySchemaConfig
Source§fn clone(&self) -> DiversitySchemaConfig
fn clone(&self) -> DiversitySchemaConfig
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 DiversitySchemaConfig
impl Debug for DiversitySchemaConfig
Source§impl Default for DiversitySchemaConfig
impl Default for DiversitySchemaConfig
Source§impl<'de> Deserialize<'de> for DiversitySchemaConfig
impl<'de> Deserialize<'de> for DiversitySchemaConfig
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 DiversitySchemaConfig
impl RefUnwindSafe for DiversitySchemaConfig
impl Send for DiversitySchemaConfig
impl Sync for DiversitySchemaConfig
impl Unpin for DiversitySchemaConfig
impl UnsafeUnpin for DiversitySchemaConfig
impl UnwindSafe for DiversitySchemaConfig
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