pub enum ImageModel {
BeautyRealism,
AestheticRealism,
AnimeRealism,
AnalogRealism,
DreamReality,
StableDiffusion,
ToonAnimated,
FantasyAnimated,
}
Expand description
The available image models provided through the API
Variants§
BeautyRealism
AestheticRealism
AnimeRealism
AnalogRealism
DreamReality
StableDiffusion
ToonAnimated
FantasyAnimated
Trait Implementations§
Source§impl Clone for ImageModel
impl Clone for ImageModel
Source§fn clone(&self) -> ImageModel
fn clone(&self) -> ImageModel
Returns a copy 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 ImageModel
impl Debug for ImageModel
Source§impl<'de> Deserialize<'de> for ImageModel
impl<'de> Deserialize<'de> for ImageModel
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 Display for ImageModel
impl Display for ImageModel
Source§impl Serialize for ImageModel
impl Serialize for ImageModel
Auto Trait Implementations§
impl Freeze for ImageModel
impl RefUnwindSafe for ImageModel
impl Send for ImageModel
impl Sync for ImageModel
impl Unpin for ImageModel
impl UnwindSafe for ImageModel
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