pub enum ImagesResponseOutputFormat {
Png,
Webp,
Jpeg,
}
Expand description
The output format of the image generation. Either png
, webp
, or jpeg
.
Variants§
Trait Implementations§
Source§impl Clone for ImagesResponseOutputFormat
impl Clone for ImagesResponseOutputFormat
Source§fn clone(&self) -> ImagesResponseOutputFormat
fn clone(&self) -> ImagesResponseOutputFormat
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 Debug for ImagesResponseOutputFormat
impl Debug for ImagesResponseOutputFormat
Source§impl<'de> Deserialize<'de> for ImagesResponseOutputFormat
impl<'de> Deserialize<'de> for ImagesResponseOutputFormat
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 ImagesResponseOutputFormat
impl PartialEq for ImagesResponseOutputFormat
Source§fn eq(&self, other: &ImagesResponseOutputFormat) -> bool
fn eq(&self, other: &ImagesResponseOutputFormat) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for ImagesResponseOutputFormat
impl StructuralPartialEq for ImagesResponseOutputFormat
Auto Trait Implementations§
impl Freeze for ImagesResponseOutputFormat
impl RefUnwindSafe for ImagesResponseOutputFormat
impl Send for ImagesResponseOutputFormat
impl Sync for ImagesResponseOutputFormat
impl Unpin for ImagesResponseOutputFormat
impl UnwindSafe for ImagesResponseOutputFormat
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