pub enum ImagePromptLanguage {
Auto,
En,
Ja,
Ko,
Hi,
Zh,
Pt,
Es,
}Expand description
Prompt language for image generation.
Variants§
Trait Implementations§
Source§impl Clone for ImagePromptLanguage
impl Clone for ImagePromptLanguage
Source§fn clone(&self) -> ImagePromptLanguage
fn clone(&self) -> ImagePromptLanguage
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 ImagePromptLanguage
impl Debug for ImagePromptLanguage
Source§impl<'de> Deserialize<'de> for ImagePromptLanguage
impl<'de> Deserialize<'de> for ImagePromptLanguage
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 ImagePromptLanguage
impl PartialEq for ImagePromptLanguage
Source§impl Serialize for ImagePromptLanguage
impl Serialize for ImagePromptLanguage
impl Copy for ImagePromptLanguage
impl Eq for ImagePromptLanguage
impl StructuralPartialEq for ImagePromptLanguage
Auto Trait Implementations§
impl Freeze for ImagePromptLanguage
impl RefUnwindSafe for ImagePromptLanguage
impl Send for ImagePromptLanguage
impl Sync for ImagePromptLanguage
impl Unpin for ImagePromptLanguage
impl UnsafeUnpin for ImagePromptLanguage
impl UnwindSafe for ImagePromptLanguage
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