pub enum SupplyChainRiskKind {
VulnerableDependency,
OutdatedDependency,
MaliciousPackage,
Typosquatting,
DependencyConfusion,
UnpinnedDependency,
UnknownProvenance,
Other,
}Expand description
Supply-chain risk labels.
Variants§
VulnerableDependency
OutdatedDependency
MaliciousPackage
Typosquatting
DependencyConfusion
UnpinnedDependency
UnknownProvenance
Other
Implementations§
Trait Implementations§
Source§impl Clone for SupplyChainRiskKind
impl Clone for SupplyChainRiskKind
Source§fn clone(&self) -> SupplyChainRiskKind
fn clone(&self) -> SupplyChainRiskKind
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 SupplyChainRiskKind
impl Debug for SupplyChainRiskKind
Source§impl Display for SupplyChainRiskKind
impl Display for SupplyChainRiskKind
Source§impl FromStr for SupplyChainRiskKind
impl FromStr for SupplyChainRiskKind
Source§type Err = SbomParseError
type Err = SbomParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<SupplyChainRiskKind, <SupplyChainRiskKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<SupplyChainRiskKind, <SupplyChainRiskKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SupplyChainRiskKind
impl Hash for SupplyChainRiskKind
Source§impl Ord for SupplyChainRiskKind
impl Ord for SupplyChainRiskKind
Source§fn cmp(&self, other: &SupplyChainRiskKind) -> Ordering
fn cmp(&self, other: &SupplyChainRiskKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SupplyChainRiskKind
impl PartialEq for SupplyChainRiskKind
Source§fn eq(&self, other: &SupplyChainRiskKind) -> bool
fn eq(&self, other: &SupplyChainRiskKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SupplyChainRiskKind
impl PartialOrd for SupplyChainRiskKind
impl Copy for SupplyChainRiskKind
impl Eq for SupplyChainRiskKind
impl StructuralPartialEq for SupplyChainRiskKind
Auto Trait Implementations§
impl Freeze for SupplyChainRiskKind
impl RefUnwindSafe for SupplyChainRiskKind
impl Send for SupplyChainRiskKind
impl Sync for SupplyChainRiskKind
impl Unpin for SupplyChainRiskKind
impl UnsafeUnpin for SupplyChainRiskKind
impl UnwindSafe for SupplyChainRiskKind
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