pub enum OwaspTop10Version {
Top10_2017,
Top10_2021,
Top10_2025,
}Expand description
OWASP Top 10 version labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OwaspTop10Version
impl Clone for OwaspTop10Version
Source§fn clone(&self) -> OwaspTop10Version
fn clone(&self) -> OwaspTop10Version
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OwaspTop10Version
impl Debug for OwaspTop10Version
Source§impl Display for OwaspTop10Version
impl Display for OwaspTop10Version
Source§impl FromStr for OwaspTop10Version
impl FromStr for OwaspTop10Version
Source§type Err = OwaspParseError
type Err = OwaspParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<OwaspTop10Version, <OwaspTop10Version as FromStr>::Err>
fn from_str( input: &str, ) -> Result<OwaspTop10Version, <OwaspTop10Version as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for OwaspTop10Version
impl Hash for OwaspTop10Version
Source§impl Ord for OwaspTop10Version
impl Ord for OwaspTop10Version
Source§fn cmp(&self, other: &OwaspTop10Version) -> Ordering
fn cmp(&self, other: &OwaspTop10Version) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OwaspTop10Version
impl PartialEq for OwaspTop10Version
Source§fn eq(&self, other: &OwaspTop10Version) -> bool
fn eq(&self, other: &OwaspTop10Version) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OwaspTop10Version
impl PartialOrd for OwaspTop10Version
impl Copy for OwaspTop10Version
impl Eq for OwaspTop10Version
impl StructuralPartialEq for OwaspTop10Version
Auto Trait Implementations§
impl Freeze for OwaspTop10Version
impl RefUnwindSafe for OwaspTop10Version
impl Send for OwaspTop10Version
impl Sync for OwaspTop10Version
impl Unpin for OwaspTop10Version
impl UnsafeUnpin for OwaspTop10Version
impl UnwindSafe for OwaspTop10Version
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