pub enum ImageResponseFormat {
Url,
B64Json,
}Expand description
The format in which generated images with dall-e-2 and dall-e-3 are
returned. Must be one of url or b64_json.
Variants§
Trait Implementations§
Source§impl Clone for ImageResponseFormat
impl Clone for ImageResponseFormat
Source§fn clone(&self) -> ImageResponseFormat
fn clone(&self) -> ImageResponseFormat
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 ImageResponseFormat
Source§impl Debug for ImageResponseFormat
impl Debug for ImageResponseFormat
Source§impl<'de> Deserialize<'de> for ImageResponseFormat
impl<'de> Deserialize<'de> for ImageResponseFormat
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
Auto Trait Implementations§
impl Freeze for ImageResponseFormat
impl RefUnwindSafe for ImageResponseFormat
impl Send for ImageResponseFormat
impl Sync for ImageResponseFormat
impl Unpin for ImageResponseFormat
impl UnsafeUnpin for ImageResponseFormat
impl UnwindSafe for ImageResponseFormat
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