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

pub enum IntegrityImpact {
    None,
    Partial,
    Complete,
}

The Integrity Impact field as defined by the CVSS specification.

Variants

None

None ("I:N") value for the Integrity Impact field.

Partial

Partial ("I:P") value for the Integrity Impact field.

Complete

Complete ("I:C") value for the Integrity Impact field.

Methods

impl IntegrityImpact[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 IntegrityImpact[src]

impl Copy for IntegrityImpact[src]

impl Debug for IntegrityImpact[src]

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

impl Display for IntegrityImpact[src]

impl PartialEq<IntegrityImpact> for IntegrityImpact[src]

impl Serialize for IntegrityImpact[src]

impl StructuralPartialEq for IntegrityImpact[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.