pub enum GuardrailSeverity {
Informational,
Low,
Medium,
High,
Critical,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GuardrailSeverity
impl Clone for GuardrailSeverity
Source§fn clone(&self) -> GuardrailSeverity
fn clone(&self) -> GuardrailSeverity
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 GuardrailSeverity
impl Debug for GuardrailSeverity
Source§impl Display for GuardrailSeverity
impl Display for GuardrailSeverity
Source§impl FromStr for GuardrailSeverity
impl FromStr for GuardrailSeverity
Source§type Err = GuardrailError
type Err = GuardrailError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<GuardrailSeverity, <GuardrailSeverity as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GuardrailSeverity, <GuardrailSeverity as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for GuardrailSeverity
impl Hash for GuardrailSeverity
Source§impl Ord for GuardrailSeverity
impl Ord for GuardrailSeverity
Source§fn cmp(&self, other: &GuardrailSeverity) -> Ordering
fn cmp(&self, other: &GuardrailSeverity) -> 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 GuardrailSeverity
impl PartialEq for GuardrailSeverity
Source§fn eq(&self, other: &GuardrailSeverity) -> bool
fn eq(&self, other: &GuardrailSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GuardrailSeverity
impl PartialOrd for GuardrailSeverity
impl Copy for GuardrailSeverity
impl Eq for GuardrailSeverity
impl StructuralPartialEq for GuardrailSeverity
Auto Trait Implementations§
impl Freeze for GuardrailSeverity
impl RefUnwindSafe for GuardrailSeverity
impl Send for GuardrailSeverity
impl Sync for GuardrailSeverity
impl Unpin for GuardrailSeverity
impl UnsafeUnpin for GuardrailSeverity
impl UnwindSafe for GuardrailSeverity
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