pub enum ChatCompletionModerationOutcome {
Results(ChatCompletionModerationResults),
Error(ModerationError),
}Variants§
Results(ChatCompletionModerationResults)
Error(ModerationError)
Trait Implementations§
Source§impl Clone for ChatCompletionModerationOutcome
impl Clone for ChatCompletionModerationOutcome
Source§fn clone(&self) -> ChatCompletionModerationOutcome
fn clone(&self) -> ChatCompletionModerationOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ChatCompletionModerationOutcome
impl<'de> Deserialize<'de> for ChatCompletionModerationOutcome
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
impl StructuralPartialEq for ChatCompletionModerationOutcome
Auto Trait Implementations§
impl Freeze for ChatCompletionModerationOutcome
impl RefUnwindSafe for ChatCompletionModerationOutcome
impl Send for ChatCompletionModerationOutcome
impl Sync for ChatCompletionModerationOutcome
impl Unpin for ChatCompletionModerationOutcome
impl UnsafeUnpin for ChatCompletionModerationOutcome
impl UnwindSafe for ChatCompletionModerationOutcome
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