pub enum ImageGenToolOutputFormat {
Png,
Webp,
Jpeg,
}
Expand description
The output format of the generated image. One of png
, webp
, or
jpeg
. Default: png
.
Variants§
Trait Implementations§
Source§impl Clone for ImageGenToolOutputFormat
impl Clone for ImageGenToolOutputFormat
Source§fn clone(&self) -> ImageGenToolOutputFormat
fn clone(&self) -> ImageGenToolOutputFormat
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 Debug for ImageGenToolOutputFormat
impl Debug for ImageGenToolOutputFormat
Source§impl Default for ImageGenToolOutputFormat
impl Default for ImageGenToolOutputFormat
Source§fn default() -> ImageGenToolOutputFormat
fn default() -> ImageGenToolOutputFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageGenToolOutputFormat
impl<'de> Deserialize<'de> for ImageGenToolOutputFormat
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 ImageGenToolOutputFormat
impl PartialEq for ImageGenToolOutputFormat
Source§impl Serialize for ImageGenToolOutputFormat
impl Serialize for ImageGenToolOutputFormat
impl Copy for ImageGenToolOutputFormat
impl StructuralPartialEq for ImageGenToolOutputFormat
Auto Trait Implementations§
impl Freeze for ImageGenToolOutputFormat
impl RefUnwindSafe for ImageGenToolOutputFormat
impl Send for ImageGenToolOutputFormat
impl Sync for ImageGenToolOutputFormat
impl Unpin for ImageGenToolOutputFormat
impl UnwindSafe for ImageGenToolOutputFormat
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