Enum stable_diffusion_bot::ApiType
source · pub enum ApiType {
ComfyUI,
StableDiffusionWebUi,
}
Expand description
Enum representing the types of Stable Diffusion API.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ApiType
impl<'de> Deserialize<'de> for ApiType
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
Auto Trait Implementations§
impl Freeze for ApiType
impl RefUnwindSafe for ApiType
impl Send for ApiType
impl Sync for ApiType
impl Unpin for ApiType
impl UnwindSafe for ApiType
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