pub enum Moderation {
Low,
Auto,
}Expand description
Control the content-moderation level for images generated by the GPT image models.
Variants§
Trait Implementations§
Source§impl Clone for Moderation
impl Clone for Moderation
Source§fn clone(&self) -> Moderation
fn clone(&self) -> Moderation
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 moreimpl Copy for Moderation
Source§impl Debug for Moderation
impl Debug for Moderation
Auto Trait Implementations§
impl Freeze for Moderation
impl RefUnwindSafe for Moderation
impl Send for Moderation
impl Sync for Moderation
impl Unpin for Moderation
impl UnsafeUnpin for Moderation
impl UnwindSafe for Moderation
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