pub struct RetrievedSbom {
pub discovered: DiscoveredSbom,
pub data: Bytes,
pub signature: Option<String>,
pub sha256: Option<RetrievedDigest<Sha256>>,
pub sha512: Option<RetrievedDigest<Sha512>>,
pub metadata: RetrievalMetadata,
}Expand description
A retrieved (but unverified) SBOM
Fields§
§discovered: DiscoveredSbomThe discovered advisory
data: BytesThe advisory data
signature: Option<String>Signature data
sha256: Option<RetrievedDigest<Sha256>>SHA-256 digest
sha512: Option<RetrievedDigest<Sha512>>SHA-512 digest
metadata: RetrievalMetadataMetadata from the retrieval process
Trait Implementations§
Source§impl Clone for RetrievedSbom
impl Clone for RetrievedSbom
Source§fn clone(&self) -> RetrievedSbom
fn clone(&self) -> RetrievedSbom
Returns a duplicate of the value. Read more
1.0.0 · 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 RetrievedSbom
impl Debug for RetrievedSbom
Source§impl Deref for RetrievedSbom
impl Deref for RetrievedSbom
Source§impl DerefMut for RetrievedSbom
impl DerefMut for RetrievedSbom
Source§impl RetrievedDocument for RetrievedSbom
impl RetrievedDocument for RetrievedSbom
type Discovered = DiscoveredSbom
Auto Trait Implementations§
impl !Freeze for RetrievedSbom
impl RefUnwindSafe for RetrievedSbom
impl Send for RetrievedSbom
impl Sync for RetrievedSbom
impl Unpin for RetrievedSbom
impl UnsafeUnpin for RetrievedSbom
impl UnwindSafe for RetrievedSbom
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