pub struct ComplianceFactorBreakdown {
pub deny_rate: ComplianceFactor,
pub revocation: ComplianceFactor,
pub velocity_anomaly: ComplianceFactor,
pub policy_coverage: ComplianceFactor,
pub attestation_freshness: ComplianceFactor,
}Expand description
Full factor breakdown for a compliance score.
Fields§
§deny_rate: ComplianceFactor§revocation: ComplianceFactor§velocity_anomaly: ComplianceFactor§policy_coverage: ComplianceFactor§attestation_freshness: ComplianceFactorImplementations§
Source§impl ComplianceFactorBreakdown
impl ComplianceFactorBreakdown
pub fn total_deductions(&self) -> u32
pub fn total_points(&self) -> u32
Trait Implementations§
Source§impl Clone for ComplianceFactorBreakdown
impl Clone for ComplianceFactorBreakdown
Source§fn clone(&self) -> ComplianceFactorBreakdown
fn clone(&self) -> ComplianceFactorBreakdown
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 ComplianceFactorBreakdown
impl Debug for ComplianceFactorBreakdown
Source§impl<'de> Deserialize<'de> for ComplianceFactorBreakdown
impl<'de> Deserialize<'de> for ComplianceFactorBreakdown
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
impl StructuralPartialEq for ComplianceFactorBreakdown
Auto Trait Implementations§
impl Freeze for ComplianceFactorBreakdown
impl RefUnwindSafe for ComplianceFactorBreakdown
impl Send for ComplianceFactorBreakdown
impl Sync for ComplianceFactorBreakdown
impl Unpin for ComplianceFactorBreakdown
impl UnsafeUnpin for ComplianceFactorBreakdown
impl UnwindSafe for ComplianceFactorBreakdown
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