pub enum RiskType {
Porn,
Violence,
Illegal,
Politics,
Other,
}Expand description
Risk types that can be detected.
Variants§
Porn
Pornographic or adult content
Violence
Violent or gory content
Illegal
Illegal or criminal content
Politics
Political or sensitive content
Other
Other risk types
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RiskType
impl<'de> Deserialize<'de> for RiskType
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 RiskType
impl RefUnwindSafe for RiskType
impl Send for RiskType
impl Sync for RiskType
impl Unpin for RiskType
impl UnsafeUnpin for RiskType
impl UnwindSafe for RiskType
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