Struct scayl::context::VulnerabilityScore
source · [−]pub struct VulnerabilityScore {
pub network: f32,
pub remote: f32,
pub information: f32,
pub files: f32,
pub permissions: f32,
pub sum: f32,
}
Expand description
The broken-down score of a single vulnerability.
Fields
network: f32
The average network score of the vulnerability.
remote: f32
The average remote access score of the vulnerability.
information: f32
The average information sensitivity score of the vulnerability.
files: f32
The average file-system access score of the vulnerability.
permissions: f32
The average permissions score of the vulnerability.
sum: f32
The sum of the five components
Trait Implementations
sourceimpl<'a> Add<&'a VulnerabilityScore> for VulnerabilityScore
impl<'a> Add<&'a VulnerabilityScore> for VulnerabilityScore
type Output = VulnerabilityScore
type Output = VulnerabilityScore
The resulting type after applying the +
operator.
sourcefn add(self, rhs: &'a VulnerabilityScore) -> Self::Output
fn add(self, rhs: &'a VulnerabilityScore) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<VulnerabilityScore> for VulnerabilityScore
impl Add<VulnerabilityScore> for VulnerabilityScore
type Output = VulnerabilityScore
type Output = VulnerabilityScore
The resulting type after applying the +
operator.
sourcefn add(self, rhs: VulnerabilityScore) -> Self::Output
fn add(self, rhs: VulnerabilityScore) -> Self::Output
Performs the +
operation. Read more
sourceimpl<'a> AddAssign<&'a VulnerabilityScore> for VulnerabilityScore
impl<'a> AddAssign<&'a VulnerabilityScore> for VulnerabilityScore
sourcefn add_assign(&mut self, rhs: &'a VulnerabilityScore)
fn add_assign(&mut self, rhs: &'a VulnerabilityScore)
Performs the +=
operation. Read more
sourceimpl AddAssign<VulnerabilityScore> for VulnerabilityScore
impl AddAssign<VulnerabilityScore> for VulnerabilityScore
sourcefn add_assign(&mut self, rhs: VulnerabilityScore)
fn add_assign(&mut self, rhs: VulnerabilityScore)
Performs the +=
operation. Read more
sourceimpl Clone for VulnerabilityScore
impl Clone for VulnerabilityScore
sourcefn clone(&self) -> VulnerabilityScore
fn clone(&self) -> VulnerabilityScore
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VulnerabilityScore
impl Debug for VulnerabilityScore
sourceimpl Default for VulnerabilityScore
impl Default for VulnerabilityScore
sourcefn default() -> VulnerabilityScore
fn default() -> VulnerabilityScore
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for VulnerabilityScore
impl<'de> Deserialize<'de> for VulnerabilityScore
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T: Into<f32>> Mul<T> for VulnerabilityScore
impl<T: Into<f32>> Mul<T> for VulnerabilityScore
sourceimpl Serialize for VulnerabilityScore
impl Serialize for VulnerabilityScore
Auto Trait Implementations
impl RefUnwindSafe for VulnerabilityScore
impl Send for VulnerabilityScore
impl Sync for VulnerabilityScore
impl Unpin for VulnerabilityScore
impl UnwindSafe for VulnerabilityScore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more