Struct async_openai::types::Category
source · pub struct Category {
pub hate: bool,
pub hate_threatening: bool,
pub self_harm: bool,
pub sexual: bool,
pub sexual_minors: bool,
pub violence: bool,
pub violence_graphic: bool,
}
Fields§
§hate: bool
§hate_threatening: bool
§self_harm: bool
§sexual: bool
§sexual_minors: bool
§violence: bool
§violence_graphic: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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