pub struct PolicyVerdict {
pub pass: bool,
pub total_findings: usize,
pub effective_findings: usize,
pub highest_severity: Option<Severity>,
pub fail_threshold: Severity,
}Expand description
Policy verdict — the final pass/fail decision after applying ignore list and severity overrides to raw findings.
Fields§
§pass: bool§total_findings: usize§effective_findings: usize§highest_severity: Option<Severity>§fail_threshold: SeverityTrait Implementations§
Source§impl Clone for PolicyVerdict
impl Clone for PolicyVerdict
Source§fn clone(&self) -> PolicyVerdict
fn clone(&self) -> PolicyVerdict
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 PolicyVerdict
impl Debug for PolicyVerdict
Source§impl<'de> Deserialize<'de> for PolicyVerdict
impl<'de> Deserialize<'de> for PolicyVerdict
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 PolicyVerdict
impl RefUnwindSafe for PolicyVerdict
impl Send for PolicyVerdict
impl Sync for PolicyVerdict
impl Unpin for PolicyVerdict
impl UnsafeUnpin for PolicyVerdict
impl UnwindSafe for PolicyVerdict
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