pub enum ImageGenerationSize {
Auto,
Size1024x1024,
Size1024x1536,
Size1536x1024,
}
Variants§
Trait Implementations§
Source§impl Clone for ImageGenerationSize
impl Clone for ImageGenerationSize
Source§fn clone(&self) -> ImageGenerationSize
fn clone(&self) -> ImageGenerationSize
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 ImageGenerationSize
impl Debug for ImageGenerationSize
Source§impl<'de> Deserialize<'de> for ImageGenerationSize
impl<'de> Deserialize<'de> for ImageGenerationSize
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 ImageGenerationSize
impl PartialEq for ImageGenerationSize
Source§impl Serialize for ImageGenerationSize
impl Serialize for ImageGenerationSize
impl StructuralPartialEq for ImageGenerationSize
Auto Trait Implementations§
impl Freeze for ImageGenerationSize
impl RefUnwindSafe for ImageGenerationSize
impl Send for ImageGenerationSize
impl Sync for ImageGenerationSize
impl Unpin for ImageGenerationSize
impl UnwindSafe for ImageGenerationSize
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