pub struct NativeOptions {
pub model: String,
pub prompt: String,
pub seed: Option<u64>,
pub comfyui_dir: PathBuf,
pub port: u16,
pub bypass: bool,
pub output: Option<PathBuf>,
pub output_dir: PathBuf,
}Expand description
Inputs shared by the CLI, terminal UI, and browser GUI.
Fields§
§model: String§prompt: String§seed: Option<u64>§comfyui_dir: PathBuf§port: u16§bypass: bool§output: Option<PathBuf>§output_dir: PathBufTrait Implementations§
Source§impl Clone for NativeOptions
impl Clone for NativeOptions
Auto Trait Implementations§
impl Freeze for NativeOptions
impl RefUnwindSafe for NativeOptions
impl Send for NativeOptions
impl Sync for NativeOptions
impl Unpin for NativeOptions
impl UnsafeUnpin for NativeOptions
impl UnwindSafe for NativeOptions
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