pub struct ScorecardSummary {
pub overall_score: f32,
pub self_reported: bool,
}Expand description
The hover-facing OpenSSF Scorecard summary for a package’s linked source repository.
Fields§
§overall_score: f32deps.dev’s scorecard.overallScore, already validated to be a finite
value in 0.0..=10.0 — never a defaulted zero.
self_reported: booltrue when the SOURCE_REPO relation this score was fetched for was
only UNVERIFIED_METADATA (package-self-reported), not
SLSA_ATTESTATION — see crate::deps_dev module docs for why this
matters and how it is rendered.
Trait Implementations§
Source§impl Clone for ScorecardSummary
impl Clone for ScorecardSummary
Source§fn clone(&self) -> ScorecardSummary
fn clone(&self) -> ScorecardSummary
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 ScorecardSummary
impl Debug for ScorecardSummary
Source§impl PartialEq for ScorecardSummary
impl PartialEq for ScorecardSummary
Source§fn eq(&self, other: &ScorecardSummary) -> bool
fn eq(&self, other: &ScorecardSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScorecardSummary
Auto Trait Implementations§
impl Freeze for ScorecardSummary
impl RefUnwindSafe for ScorecardSummary
impl Send for ScorecardSummary
impl Sync for ScorecardSummary
impl Unpin for ScorecardSummary
impl UnsafeUnpin for ScorecardSummary
impl UnwindSafe for ScorecardSummary
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