pub struct CoverageSummary {
pub sufficient_for_score: bool,
pub relevant_repositories: Vec<RepoId>,
pub fresh_repositories: Vec<RepoId>,
pub stale_repositories: Vec<RepoId>,
pub partial_repositories: Vec<RepoId>,
pub unavailable_repositories: Vec<RepoId>,
pub missing_repositories: Vec<RepoId>,
pub possible_edges: usize,
pub unknown_edges: usize,
pub gaps: Vec<String>,
pub remediation: Vec<String>,
pub total_items: usize,
}Expand description
Coverage details that control whether a numeric risk score is permitted.
Fields§
§sufficient_for_score: boolWhether all required graph, freshness, and enrichment inputs are sufficient.
relevant_repositories: Vec<RepoId>Relevant repositories discovered from the target and affected nodes.
fresh_repositories: Vec<RepoId>Relevant repositories with fresh inputs.
stale_repositories: Vec<RepoId>Relevant repositories with stale or changed inputs.
partial_repositories: Vec<RepoId>Relevant repositories with partial inputs.
Relevant repositories whose checkout or data is unavailable.
missing_repositories: Vec<RepoId>Relevant repositories without a freshness record.
possible_edges: usizeNumber of candidate or low-confidence edges selected by traversal.
unknown_edges: usizeNumber of stale or incomplete edges selected by traversal.
gaps: Vec<String>Explicit coverage limitations in deterministic order.
remediation: Vec<String>Concrete remediation guidance in deterministic order.
total_items: usizeTotal affected items before pagination.
Trait Implementations§
Source§impl Clone for CoverageSummary
impl Clone for CoverageSummary
Source§fn clone(&self) -> CoverageSummary
fn clone(&self) -> CoverageSummary
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 CoverageSummary
impl Debug for CoverageSummary
Source§impl<'de> Deserialize<'de> for CoverageSummary
impl<'de> Deserialize<'de> for CoverageSummary
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 CoverageSummary
Source§impl JsonSchema for CoverageSummary
impl JsonSchema for CoverageSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CoverageSummary
impl PartialEq for CoverageSummary
Source§impl Serialize for CoverageSummary
impl Serialize for CoverageSummary
impl StructuralPartialEq for CoverageSummary
Auto Trait Implementations§
impl Freeze for CoverageSummary
impl RefUnwindSafe for CoverageSummary
impl Send for CoverageSummary
impl Sync for CoverageSummary
impl Unpin for CoverageSummary
impl UnsafeUnpin for CoverageSummary
impl UnwindSafe for CoverageSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.