#[non_exhaustive]pub struct RequirementReport {
pub id: String,
pub level: String,
pub outcome: Outcome,
pub findings: Vec<Finding>,
pub exclusion: Option<String>,
pub missing_checks: Vec<String>,
pub capability: Option<String>,
}Expand description
One requirement’s row in the report.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe requirement ID (AREA-NNN).
level: StringThe requirement’s RFC 2119 level, as registry text ("MUST", …).
outcome: OutcomeThe evaluation outcome.
findings: Vec<Finding>Findings, in event order. Empty unless outcome is fail or warn.
exclusion: Option<String>The documented exclusion reason, when outcome is excluded.
missing_checks: Vec<String>Check IDs the build lacks, when outcome is unsupported.
capability: Option<String>The undeclared capability gate, when outcome is not-applicable.
Trait Implementations§
Source§impl Clone for RequirementReport
impl Clone for RequirementReport
Source§fn clone(&self) -> RequirementReport
fn clone(&self) -> RequirementReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RequirementReport
impl Debug for RequirementReport
Source§impl<'de> Deserialize<'de> for RequirementReport
impl<'de> Deserialize<'de> for RequirementReport
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 Eq for RequirementReport
Source§impl PartialEq for RequirementReport
impl PartialEq for RequirementReport
Source§fn eq(&self, other: &RequirementReport) -> bool
fn eq(&self, other: &RequirementReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RequirementReport
impl Serialize for RequirementReport
impl StructuralPartialEq for RequirementReport
Auto Trait Implementations§
impl Freeze for RequirementReport
impl RefUnwindSafe for RequirementReport
impl Send for RequirementReport
impl Sync for RequirementReport
impl Unpin for RequirementReport
impl UnsafeUnpin for RequirementReport
impl UnwindSafe for RequirementReport
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