pub enum CreateImageRequestOutputFormat {
Png,
Jpeg,
Webp,
}
Expand description
The format in which the generated images are returned. This parameter is only supported for gpt-image-1
. Must be one of png
, jpeg
, or webp
.
Variants§
Trait Implementations§
Source§impl Clone for CreateImageRequestOutputFormat
impl Clone for CreateImageRequestOutputFormat
Source§fn clone(&self) -> CreateImageRequestOutputFormat
fn clone(&self) -> CreateImageRequestOutputFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateImageRequestOutputFormat
impl Default for CreateImageRequestOutputFormat
Source§fn default() -> CreateImageRequestOutputFormat
fn default() -> CreateImageRequestOutputFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateImageRequestOutputFormat
impl<'de> Deserialize<'de> for CreateImageRequestOutputFormat
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 CreateImageRequestOutputFormat
impl PartialEq for CreateImageRequestOutputFormat
Source§fn eq(&self, other: &CreateImageRequestOutputFormat) -> bool
fn eq(&self, other: &CreateImageRequestOutputFormat) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CreateImageRequestOutputFormat
impl StructuralPartialEq for CreateImageRequestOutputFormat
Auto Trait Implementations§
impl Freeze for CreateImageRequestOutputFormat
impl RefUnwindSafe for CreateImageRequestOutputFormat
impl Send for CreateImageRequestOutputFormat
impl Sync for CreateImageRequestOutputFormat
impl Unpin for CreateImageRequestOutputFormat
impl UnwindSafe for CreateImageRequestOutputFormat
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