pub struct StandardCompliance {
pub total_rules: u32,
pub violations: u32,
pub compliance_score: f64,
pub violated_rules: Vec<String>,
}
Expand description
Compliance information for a security standard
Fields§
§total_rules: u32
Total number of applicable rules
violations: u32
Number of rules violated
compliance_score: f64
Compliance percentage (0-100)
violated_rules: Vec<String>
List of violated rule IDs
Trait Implementations§
Source§impl Clone for StandardCompliance
impl Clone for StandardCompliance
Source§fn clone(&self) -> StandardCompliance
fn clone(&self) -> StandardCompliance
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 StandardCompliance
impl Debug for StandardCompliance
Source§impl<'de> Deserialize<'de> for StandardCompliance
impl<'de> Deserialize<'de> for StandardCompliance
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 StandardCompliance
impl RefUnwindSafe for StandardCompliance
impl Send for StandardCompliance
impl Sync for StandardCompliance
impl Unpin for StandardCompliance
impl UnwindSafe for StandardCompliance
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