pub struct ControlChanges {
pub controls_added: Vec<String>,
pub controls_modified: Vec<String>,
pub controls_removed: Vec<String>,
pub threshold_changes: HashMap<String, (f64, f64)>,
}Expand description
Control changes from process and organizational events.
Fields§
§controls_added: Vec<String>New controls added.
controls_modified: Vec<String>Controls modified.
controls_removed: Vec<String>Controls removed or deprecated.
threshold_changes: HashMap<String, (f64, f64)>Threshold changes (control_id -> (old, new)).
Implementations§
Source§impl ControlChanges
impl ControlChanges
Sourcepub fn has_changes(&self) -> bool
pub fn has_changes(&self) -> bool
Check if there are any changes.
Trait Implementations§
Source§impl Clone for ControlChanges
impl Clone for ControlChanges
Source§fn clone(&self) -> ControlChanges
fn clone(&self) -> ControlChanges
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 ControlChanges
impl Debug for ControlChanges
Source§impl Default for ControlChanges
impl Default for ControlChanges
Source§fn default() -> ControlChanges
fn default() -> ControlChanges
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControlChanges
impl<'de> Deserialize<'de> for ControlChanges
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 ControlChanges
impl RefUnwindSafe for ControlChanges
impl Send for ControlChanges
impl Sync for ControlChanges
impl Unpin for ControlChanges
impl UnwindSafe for ControlChanges
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