[][src]Struct rustsec::report::Warning

pub struct Warning {
    pub package: Name,
    pub message: String,
    pub url: Option<String>,
}

Warnings about particular dependencies

Fields

package: Name

Name of the dependent package

message: String

Text of the warning

url: Option<String>

URL with additional information (if available)

Methods

impl Warning[src]

pub fn generate(
    db: &Database,
    lockfile: &Lockfile,
    settings: &Settings
) -> Vec<Self>
[src]

Generate a report for the given advisory database and lockfile

Trait Implementations

impl Clone for Warning[src]

impl Debug for Warning[src]

impl Serialize for Warning[src]

impl<'de> Deserialize<'de> for Warning[src]

Auto Trait Implementations

impl Send for Warning

impl Unpin for Warning

impl Sync for Warning

impl UnwindSafe for Warning

impl RefUnwindSafe for Warning

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]