[][src]Struct rustsec_admin::web::AdvisoryParams

pub struct AdvisoryParams {
    pub id: String,
    pub package: String,
    pub title: String,
    pub summary: String,
    pub description: String,
    pub date: String,
    pub tags: String,
    pub url: Option<String>,
    pub patched_versions: Vec<String>,
    pub unaffected_versions: Option<Vec<String>>,
}

Parameters to pass to the advisory.md.hbs Handlebars template

Fields

id: String

Advisory ID (i.e. RUSTSEC-20YY-NNNN)

package: String

Package name (i.e. crate name)

title: String

Title of advisory

summary: String

One-liner summary of the advisory

description: String

Full description

date: String

Advisory date

tags: String

Tags to associate with this advisory

url: Option<String>

URL for more information

patched_versions: Vec<String>

Patched versions

unaffected_versions: Option<Vec<String>>

Unaffected versions

Trait Implementations

impl Debug for AdvisoryParams[src]

impl<'a> From<&'a Advisory> for AdvisoryParams[src]

impl Serialize for AdvisoryParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err