pub enum HarmProbability {
Unspecified,
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§
Unspecified
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 Copy for HarmProbability
impl Eq 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