[−][src]Struct rustsec::advisory::metadata::Metadata
The [advisory]
section of a RustSec security advisory
Fields
id: Id
Security advisory ID (e.g. RUSTSEC-YYYY-NNNN)
package: Name
Name of affected crate
date: Date
Date this advisory was officially issued
aliases: Vec<Id>
Advisory IDs in other databases which point to the same advisory
references: Vec<Id>
Advisory IDs which are related to this advisory (use aliases
if it
is the same vulnerability syndicated to a different database)
collection: Option<Collection>
Collection this advisory belongs to. This isn't intended to be explicitly specified in the advisory, but rather is auto-populated based on the location
categories: Vec<Category>
RustSec vulnerability categories: one of a fixed list of vulnerability categorizations accepted by the project.
keywords: Vec<Keyword>
Freeform keywords which succinctly describe this vulnerability (e.g. "ssl", "rce", "xss")
cvss: Option<Base>
CVSS v3.1 Base Metrics vector string containing severity information.
Example:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
informational: Option<Informational>
Informational advisories can be used to warn users about issues affecting a particular crate without failing the build.
obsolete: bool
Is the advisory obsolete? Obsolete advisories will be ignored.
url: Option<String>
URL with an announcement (e.g. blog post, PR, disclosure issue, CVE)
title: String
One-liner description of a vulnerability
description: String
Extended description of a vulnerability
Trait Implementations
impl Clone for Metadata
[src]
impl Debug for Metadata
[src]
impl<'de> Deserialize<'de> for Metadata
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Metadata
[src]
impl PartialEq<Metadata> for Metadata
[src]
impl Serialize for Metadata
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Metadata
[src]
impl StructuralPartialEq for Metadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,