pub struct SbomMetadata {
pub timestamp: String,
pub tools: Vec<Tool>,
pub properties: Vec<Property>,
}Expand description
CycloneDX metadata block.
Fields§
§timestamp: StringISO-8601 / RFC-3339 UTC timestamp of when the SBOM was emitted — the
wall clock by default, or SOURCE_DATE_EPOCH when set (#1292), which
makes it deterministic for a reproducible build.
tools: Vec<Tool>The tool(s) that produced the described artifact — here, synth itself.
properties: Vec<Property>#1293: the build environment that can change emitted bytes — every
SYNTH_* variable set for this compilation, sorted by name. Omitted
when empty so a default build’s SBOM is unchanged.
Trait Implementations§
Source§impl Clone for SbomMetadata
impl Clone for SbomMetadata
Source§impl Debug for SbomMetadata
impl Debug for SbomMetadata
Auto Trait Implementations§
impl Freeze for SbomMetadata
impl RefUnwindSafe for SbomMetadata
impl Send for SbomMetadata
impl Sync for SbomMetadata
impl Unpin for SbomMetadata
impl UnsafeUnpin for SbomMetadata
impl UnwindSafe for SbomMetadata
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