pub struct NotAssessedReason {
pub coordinate: String,
pub reason_class: String,
}Expand description
CLEANLIB-652 (CX-3) part 3b / CLEANLIB-647 (DD-1): one per-coordinate
not-assessed reason from the App’s per-request coverage block. The App emits
this for every coordinate it returned but could NOT assess (see
Coverage::not_assessed_reasons); the client joins it into the per-decision
error field so scan --output json can distinguish a NEVER-EVALUATED
coordinate from one that was evaluated and warned.
Fields§
§coordinate: String"{ecosystem}/{package}@{version}" — the App’s coordinate identity,
matching the client’s own format!("{}/{}@{}", …) join key.
reason_class: StringCoverage-scoped reason class (INSUFFICIENT_DATA | RANGE_NOT_RESOLVED).
Trait Implementations§
Source§impl Clone for NotAssessedReason
impl Clone for NotAssessedReason
Source§fn clone(&self) -> NotAssessedReason
fn clone(&self) -> NotAssessedReason
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 NotAssessedReason
impl Debug for NotAssessedReason
Source§impl Default for NotAssessedReason
impl Default for NotAssessedReason
Source§fn default() -> NotAssessedReason
fn default() -> NotAssessedReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotAssessedReasonwhere
NotAssessedReason: Default,
impl<'de> Deserialize<'de> for NotAssessedReasonwhere
NotAssessedReason: Default,
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
Source§impl PartialEq for NotAssessedReason
impl PartialEq for NotAssessedReason
Source§impl Serialize for NotAssessedReason
impl Serialize for NotAssessedReason
impl StructuralPartialEq for NotAssessedReason
Auto Trait Implementations§
impl Freeze for NotAssessedReason
impl RefUnwindSafe for NotAssessedReason
impl Send for NotAssessedReason
impl Sync for NotAssessedReason
impl Unpin for NotAssessedReason
impl UnsafeUnpin for NotAssessedReason
impl UnwindSafe for NotAssessedReason
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