pub enum HarmProbability {
HarmProbabilityUnspecified,
Negligible,
Low,
Medium,
High,
}
Expand description
Probability that content is harmful
Variants§
HarmProbabilityUnspecified
Probability is unspecified.
Negligible
Content has a negligible chance of being unsafe.
Low
Content has a low chance of being unsafe.
Medium
Content has a medium chance of being unsafe.
High
Content has a high chance of being unsafe.
Trait Implementations§
Source§impl Clone for HarmProbability
impl Clone for HarmProbability
Source§fn clone(&self) -> HarmProbability
fn clone(&self) -> HarmProbability
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 HarmProbability
impl Debug for HarmProbability
Source§impl<'de> Deserialize<'de> for HarmProbability
impl<'de> Deserialize<'de> for HarmProbability
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 HarmProbability
impl PartialEq for HarmProbability
Source§impl Serialize for HarmProbability
impl Serialize for HarmProbability
impl StructuralPartialEq for HarmProbability
Auto Trait Implementations§
impl Freeze for HarmProbability
impl RefUnwindSafe for HarmProbability
impl Send for HarmProbability
impl Sync for HarmProbability
impl Unpin for HarmProbability
impl UnwindSafe for HarmProbability
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