pub struct CreateModerationResponseResultsInner {
pub flagged: bool,
pub categories: Box<CreateModerationResponseResultsInnerCategories>,
pub category_scores: Box<CreateModerationResponseResultsInnerCategoryScores>,
}
Fields§
§flagged: bool
§categories: Box<CreateModerationResponseResultsInnerCategories>
§category_scores: Box<CreateModerationResponseResultsInnerCategoryScores>
Implementations§
Source§impl CreateModerationResponseResultsInner
impl CreateModerationResponseResultsInner
pub fn new( flagged: bool, categories: CreateModerationResponseResultsInnerCategories, category_scores: CreateModerationResponseResultsInnerCategoryScores, ) -> CreateModerationResponseResultsInner
Trait Implementations§
Source§impl Clone for CreateModerationResponseResultsInner
impl Clone for CreateModerationResponseResultsInner
Source§fn clone(&self) -> CreateModerationResponseResultsInner
fn clone(&self) -> CreateModerationResponseResultsInner
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateModerationResponseResultsInner
impl Default for CreateModerationResponseResultsInner
Source§fn default() -> CreateModerationResponseResultsInner
fn default() -> CreateModerationResponseResultsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateModerationResponseResultsInner
impl<'de> Deserialize<'de> for CreateModerationResponseResultsInner
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 CreateModerationResponseResultsInner
impl PartialEq for CreateModerationResponseResultsInner
Source§fn eq(&self, other: &CreateModerationResponseResultsInner) -> bool
fn eq(&self, other: &CreateModerationResponseResultsInner) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateModerationResponseResultsInner
Auto Trait Implementations§
impl Freeze for CreateModerationResponseResultsInner
impl RefUnwindSafe for CreateModerationResponseResultsInner
impl Send for CreateModerationResponseResultsInner
impl Sync for CreateModerationResponseResultsInner
impl Unpin for CreateModerationResponseResultsInner
impl UnwindSafe for CreateModerationResponseResultsInner
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