pub struct QualityReport {Show 15 fields
pub overall_score: f32,
pub grade: QualityGrade,
pub profile: ScoringProfile,
pub completeness_score: f32,
pub identifier_score: f32,
pub license_score: f32,
pub vulnerability_score: f32,
pub dependency_score: f32,
pub completeness_metrics: CompletenessMetrics,
pub identifier_metrics: IdentifierMetrics,
pub license_metrics: LicenseMetrics,
pub vulnerability_metrics: VulnerabilityMetrics,
pub dependency_metrics: DependencyMetrics,
pub compliance: ComplianceResult,
pub recommendations: Vec<Recommendation>,
}Expand description
Complete quality report for an SBOM
Fields§
§overall_score: f32Overall score (0-100)
grade: QualityGradeOverall grade
profile: ScoringProfileScoring profile used
completeness_score: f32Completeness score (0-100)
identifier_score: f32Identifier quality score (0-100)
license_score: f32License quality score (0-100)
vulnerability_score: f32Vulnerability documentation score (0-100)
dependency_score: f32Dependency graph quality score (0-100)
completeness_metrics: CompletenessMetricsDetailed completeness metrics
identifier_metrics: IdentifierMetricsDetailed identifier metrics
license_metrics: LicenseMetricsDetailed license metrics
vulnerability_metrics: VulnerabilityMetricsDetailed vulnerability metrics
dependency_metrics: DependencyMetricsDetailed dependency metrics
compliance: ComplianceResultCompliance check result
recommendations: Vec<Recommendation>Prioritized recommendations
Trait Implementations§
Source§impl Clone for QualityReport
impl Clone for QualityReport
Source§fn clone(&self) -> QualityReport
fn clone(&self) -> QualityReport
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 QualityReport
impl Debug for QualityReport
Source§impl<'de> Deserialize<'de> for QualityReport
impl<'de> Deserialize<'de> for QualityReport
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 QualityReport
impl RefUnwindSafe for QualityReport
impl Send for QualityReport
impl Sync for QualityReport
impl Unpin for QualityReport
impl UnsafeUnpin for QualityReport
impl UnwindSafe for QualityReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more