pub struct GovernanceMetric {
pub id: String,
pub entity_id: String,
pub period: NaiveDate,
pub board_size: u32,
pub independent_directors: u32,
pub female_directors: u32,
pub board_independence_ratio: Decimal,
pub board_gender_diversity_ratio: Decimal,
pub ethics_training_completion_pct: f64,
pub whistleblower_reports: u32,
pub anti_corruption_violations: u32,
}Expand description
Governance metric for a reporting period.
Fields§
§id: String§entity_id: String§period: NaiveDate§board_size: u32§independent_directors: u32§female_directors: u32§board_independence_ratio: Decimal§board_gender_diversity_ratio: Decimal§ethics_training_completion_pct: f64§whistleblower_reports: u32§anti_corruption_violations: u32Implementations§
Source§impl GovernanceMetric
impl GovernanceMetric
Sourcepub fn computed_independence_ratio(&self) -> Decimal
pub fn computed_independence_ratio(&self) -> Decimal
Computed board independence = independent / total.
Trait Implementations§
Source§impl Clone for GovernanceMetric
impl Clone for GovernanceMetric
Source§fn clone(&self) -> GovernanceMetric
fn clone(&self) -> GovernanceMetric
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 GovernanceMetric
impl Debug for GovernanceMetric
Source§impl<'de> Deserialize<'de> for GovernanceMetric
impl<'de> Deserialize<'de> for GovernanceMetric
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
Source§impl Serialize for GovernanceMetric
impl Serialize for GovernanceMetric
Source§impl ToNodeProperties for GovernanceMetric
impl ToNodeProperties for GovernanceMetric
Source§fn node_type_name(&self) -> &'static str
fn node_type_name(&self) -> &'static str
Entity type name (snake_case), e.g.
"uncertain_tax_position".Source§fn node_type_code(&self) -> u16
fn node_type_code(&self) -> u16
Numeric entity type code for registry, e.g.
416.Source§fn to_node_properties(&self) -> HashMap<String, GraphPropertyValue>
fn to_node_properties(&self) -> HashMap<String, GraphPropertyValue>
Convert all fields to a property map with camelCase keys.
Auto Trait Implementations§
impl Freeze for GovernanceMetric
impl RefUnwindSafe for GovernanceMetric
impl Send for GovernanceMetric
impl Sync for GovernanceMetric
impl Unpin for GovernanceMetric
impl UnsafeUnpin for GovernanceMetric
impl UnwindSafe for GovernanceMetric
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