pub enum SbomRelationshipKind {
Contains,
DependsOn,
DependencyOf,
Describes,
GeneratedFrom,
DistributedWith,
Unknown,
}Expand description
SBOM relationship labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SbomRelationshipKind
impl Clone for SbomRelationshipKind
Source§fn clone(&self) -> SbomRelationshipKind
fn clone(&self) -> SbomRelationshipKind
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 SbomRelationshipKind
impl Debug for SbomRelationshipKind
Source§impl Display for SbomRelationshipKind
impl Display for SbomRelationshipKind
Source§impl FromStr for SbomRelationshipKind
impl FromStr for SbomRelationshipKind
Source§type Err = SbomParseError
type Err = SbomParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<SbomRelationshipKind, <SbomRelationshipKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<SbomRelationshipKind, <SbomRelationshipKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SbomRelationshipKind
impl Hash for SbomRelationshipKind
Source§impl Ord for SbomRelationshipKind
impl Ord for SbomRelationshipKind
Source§fn cmp(&self, other: &SbomRelationshipKind) -> Ordering
fn cmp(&self, other: &SbomRelationshipKind) -> 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 SbomRelationshipKind
impl PartialEq for SbomRelationshipKind
Source§fn eq(&self, other: &SbomRelationshipKind) -> bool
fn eq(&self, other: &SbomRelationshipKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SbomRelationshipKind
impl PartialOrd for SbomRelationshipKind
impl Copy for SbomRelationshipKind
impl Eq for SbomRelationshipKind
impl StructuralPartialEq for SbomRelationshipKind
Auto Trait Implementations§
impl Freeze for SbomRelationshipKind
impl RefUnwindSafe for SbomRelationshipKind
impl Send for SbomRelationshipKind
impl Sync for SbomRelationshipKind
impl Unpin for SbomRelationshipKind
impl UnsafeUnpin for SbomRelationshipKind
impl UnwindSafe for SbomRelationshipKind
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