pub enum HarmProbability {
HarmProbabilityUnspecified,
Negligible,
Low,
Medium,
High,
}
Expand description
The probability that a piece of content is harmful
The classification system gives the probability of the content being unsafe. This does not indicate the severity of harm for a piece of content.
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 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
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