Struct csaf_walker::retrieve::RetrievedAdvisory
source · pub struct RetrievedAdvisory {
pub discovered: DiscoveredAdvisory,
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) advisory
Fields§
§discovered: DiscoveredAdvisoryThe 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 AsDiscovered for RetrievedAdvisory
impl AsDiscovered for RetrievedAdvisory
fn as_discovered(&self) -> &DiscoveredAdvisory
source§impl AsRetrieved for RetrievedAdvisory
impl AsRetrieved for RetrievedAdvisory
fn as_retrieved(&self) -> &RetrievedAdvisory
source§impl Clone for RetrievedAdvisory
impl Clone for RetrievedAdvisory
source§fn clone(&self) -> RetrievedAdvisory
fn clone(&self) -> RetrievedAdvisory
Returns a copy 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 RetrievedAdvisory
impl Debug for RetrievedAdvisory
source§impl Deref for RetrievedAdvisory
impl Deref for RetrievedAdvisory
source§impl DerefMut for RetrievedAdvisory
impl DerefMut for RetrievedAdvisory
Auto Trait Implementations§
impl !Freeze for RetrievedAdvisory
impl RefUnwindSafe for RetrievedAdvisory
impl Send for RetrievedAdvisory
impl Sync for RetrievedAdvisory
impl Unpin for RetrievedAdvisory
impl UnwindSafe for RetrievedAdvisory
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