pub struct PolicyChangeConfig {
pub category: PolicyCategory,
pub description: Option<String>,
pub old_value: Option<Decimal>,
pub new_value: Option<Decimal>,
pub transition_error_rate: f64,
pub transition_months: u32,
pub affected_controls: Vec<String>,
}Expand description
Configuration for policy change.
Fields§
§category: PolicyCategoryPolicy category affected.
description: Option<String>Description of the change.
old_value: Option<Decimal>Old policy value (for threshold-based policies).
new_value: Option<Decimal>New policy value (for threshold-based policies).
transition_error_rate: f64Error rate during transition period.
transition_months: u32Number of months for transition.
affected_controls: Vec<String>Controls affected by this policy change.
Trait Implementations§
Source§impl Clone for PolicyChangeConfig
impl Clone for PolicyChangeConfig
Source§fn clone(&self) -> PolicyChangeConfig
fn clone(&self) -> PolicyChangeConfig
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 PolicyChangeConfig
impl Debug for PolicyChangeConfig
Source§impl Default for PolicyChangeConfig
impl Default for PolicyChangeConfig
Source§impl<'de> Deserialize<'de> for PolicyChangeConfig
impl<'de> Deserialize<'de> for PolicyChangeConfig
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 PolicyChangeConfig
impl RefUnwindSafe for PolicyChangeConfig
impl Send for PolicyChangeConfig
impl Sync for PolicyChangeConfig
impl Unpin for PolicyChangeConfig
impl UnwindSafe for PolicyChangeConfig
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