[−][src]Struct rustsec_admin::web::AdvisoryParams
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 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]
fn from(advisory: &Advisory) -> AdvisoryParams
[src]
impl Serialize for AdvisoryParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for AdvisoryParams
impl Send for AdvisoryParams
impl Sync for AdvisoryParams
impl Unpin for AdvisoryParams
impl UnwindSafe for AdvisoryParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,