pub enum AttackVector {
Network,
Adjacent,
Local,
Physical,
}Expand description
CVSS v3.x Attack Vector
Variants§
Network
Network (N) - Exploitable remotely
Adjacent
Adjacent (A) - Requires local network access
Local
Local (L) - Requires local access
Physical
Physical (P) - Requires physical access
Trait Implementations§
Source§impl Clone for AttackVector
impl Clone for AttackVector
Source§fn clone(&self) -> AttackVector
fn clone(&self) -> AttackVector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttackVector
impl Debug for AttackVector
Source§impl<'de> Deserialize<'de> for AttackVector
impl<'de> Deserialize<'de> for AttackVector
Source§fn 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
Source§impl PartialEq for AttackVector
impl PartialEq for AttackVector
Source§impl Serialize for AttackVector
impl Serialize for AttackVector
impl Copy for AttackVector
impl Eq for AttackVector
impl StructuralPartialEq for AttackVector
Auto Trait Implementations§
impl Freeze for AttackVector
impl RefUnwindSafe for AttackVector
impl Send for AttackVector
impl Sync for AttackVector
impl Unpin for AttackVector
impl UnwindSafe for AttackVector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more