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