[][src]Enum libcvss::v2::base::AvailabilityImpact

pub enum AvailabilityImpact {
    None,
    Partial,
    Complete,
}

The Availability Impact field as defined by the CVSS specification.

Variants

None

None ("A:N") value for the Availability Impact field.

Partial

Partial ("A:P") value for the Availability Impact field.

Complete

Complete ("A:C") value for the Availability Impact field.

Methods

impl AvailabilityImpact[src]

pub fn numerical_value(&self) -> f64[src]

Provides the numerical value associated with the metric, as specified by the CVSS specification.

In normal usage you should not need to call this yourself.

Trait Implementations

impl Clone for AvailabilityImpact[src]

impl Copy for AvailabilityImpact[src]

impl Debug for AvailabilityImpact[src]

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

impl Display for AvailabilityImpact[src]

impl PartialEq<AvailabilityImpact> for AvailabilityImpact[src]

impl Serialize for AvailabilityImpact[src]

impl StructuralPartialEq for AvailabilityImpact[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.