pub struct CreateModerationResponseCategoryScores {Show 13 fields
pub harassment: f32,
pub harassmentthreatening: f32,
pub hate: f32,
pub hatethreatening: f32,
pub illicit: f32,
pub illicitviolent: f32,
pub self_harm: f32,
pub self_harminstructions: f32,
pub self_harmintent: f32,
pub sexual: f32,
pub sexualminors: f32,
pub violence: f32,
pub violencegraphic: f32,
}
Fields§
§harassment: f32
The score for the category ‘harassment’.
harassmentthreatening: f32
The score for the category ‘harassment/threatening’.
hate: f32
The score for the category ‘hate’.
hatethreatening: f32
The score for the category ‘hate/threatening’.
illicit: f32
The score for the category ‘illicit’.
illicitviolent: f32
The score for the category ‘illicit/violent’.
self_harm: f32
The score for the category ‘self-harm’.
self_harminstructions: f32
The score for the category ‘self-harm/instructions’.
self_harmintent: f32
The score for the category ‘self-harm/intent’.
sexual: f32
The score for the category ‘sexual’.
sexualminors: f32
The score for the category ‘sexual/minors’.
violence: f32
The score for the category ‘violence’.
violencegraphic: f32
The score for the category ‘violence/graphic’.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateModerationResponseCategoryScores
impl<'de> Deserialize<'de> for CreateModerationResponseCategoryScores
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 CreateModerationResponseCategoryScores
impl RefUnwindSafe for CreateModerationResponseCategoryScores
impl Send for CreateModerationResponseCategoryScores
impl Sync for CreateModerationResponseCategoryScores
impl Unpin for CreateModerationResponseCategoryScores
impl UnwindSafe for CreateModerationResponseCategoryScores
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