pub struct Sbom {
pub cyclonedx: Option<String>,
pub spdx: Option<String>,
}Expand description
SBOM (Software Bill of Materials) paths.
Points to SBOM files within the bundle. Both CycloneDX and SPDX formats are supported and can be included simultaneously.
Fields§
§cyclonedx: Option<String>Path to CycloneDX SBOM file (e.g., “sbom/sbom.cdx.json”).
spdx: Option<String>Path to SPDX SBOM file (e.g., “sbom/sbom.spdx.json”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sbom
impl<'de> Deserialize<'de> for Sbom
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 Sbom
impl RefUnwindSafe for Sbom
impl Send for Sbom
impl Sync for Sbom
impl Unpin for Sbom
impl UnwindSafe for Sbom
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