pub enum HarmBlockMethod {
HarmBlockMethodUnspecified,
Severity,
Probability,
}Expand description
Specifies how the harm block threshold is applied.
Variants§
Trait Implementations§
Source§impl Clone for HarmBlockMethod
impl Clone for HarmBlockMethod
Source§fn clone(&self) -> HarmBlockMethod
fn clone(&self) -> HarmBlockMethod
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 HarmBlockMethod
impl Debug for HarmBlockMethod
Source§impl<'de> Deserialize<'de> for HarmBlockMethod
impl<'de> Deserialize<'de> for HarmBlockMethod
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 HarmBlockMethod
impl PartialEq for HarmBlockMethod
Source§impl Serialize for HarmBlockMethod
impl Serialize for HarmBlockMethod
impl Copy for HarmBlockMethod
impl Eq for HarmBlockMethod
impl StructuralPartialEq for HarmBlockMethod
Auto Trait Implementations§
impl Freeze for HarmBlockMethod
impl RefUnwindSafe for HarmBlockMethod
impl Send for HarmBlockMethod
impl Sync for HarmBlockMethod
impl Unpin for HarmBlockMethod
impl UnsafeUnpin for HarmBlockMethod
impl UnwindSafe for HarmBlockMethod
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