Struct csaf_walker::discover::DiscoveredAdvisory
source · pub struct DiscoveredAdvisory {
pub context: Arc<DistributionContext>,
pub url: Url,
pub modified: SystemTime,
}Fields§
§context: Arc<DistributionContext>A reference to the distribution and rolie information
url: UrlThe URL of the advisory
modified: SystemTimeThe “last changed” date from the change information
Trait Implementations§
source§impl AsDiscovered for DiscoveredAdvisory
impl AsDiscovered for DiscoveredAdvisory
fn as_discovered(&self) -> &DiscoveredAdvisory
source§impl Clone for DiscoveredAdvisory
impl Clone for DiscoveredAdvisory
source§fn clone(&self) -> DiscoveredAdvisory
fn clone(&self) -> DiscoveredAdvisory
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 DiscoveredAdvisory
impl Debug for DiscoveredAdvisory
source§impl PartialEq for DiscoveredAdvisory
impl PartialEq for DiscoveredAdvisory
source§fn eq(&self, other: &DiscoveredAdvisory) -> bool
fn eq(&self, other: &DiscoveredAdvisory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Urlify for DiscoveredAdvisory
impl Urlify for DiscoveredAdvisory
impl Eq for DiscoveredAdvisory
impl StructuralPartialEq for DiscoveredAdvisory
Auto Trait Implementations§
impl Freeze for DiscoveredAdvisory
impl RefUnwindSafe for DiscoveredAdvisory
impl Send for DiscoveredAdvisory
impl Sync for DiscoveredAdvisory
impl Unpin for DiscoveredAdvisory
impl UnwindSafe for DiscoveredAdvisory
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.