Struct stable_diffusion_api::ExtraGenParams
source · pub struct ExtraGenParams {
pub lora_hashes: Option<String>,
pub ti_hashes: Option<String>,
}
Expand description
Extra parameters describing image generation.
Fields§
§lora_hashes: Option<String>
Names and hashes of LORA models used for image generation.
ti_hashes: Option<String>
Names and hashes of Textual Inversion models used for image generation.
Trait Implementations§
source§impl Clone for ExtraGenParams
impl Clone for ExtraGenParams
source§fn clone(&self) -> ExtraGenParams
fn clone(&self) -> ExtraGenParams
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 ExtraGenParams
impl Debug for ExtraGenParams
source§impl Default for ExtraGenParams
impl Default for ExtraGenParams
source§fn default() -> ExtraGenParams
fn default() -> ExtraGenParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExtraGenParams
impl<'de> Deserialize<'de> for ExtraGenParams
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 ExtraGenParams
impl RefUnwindSafe for ExtraGenParams
impl Send for ExtraGenParams
impl Sync for ExtraGenParams
impl Unpin for ExtraGenParams
impl UnwindSafe for ExtraGenParams
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