pub struct ComfyConfig {
pub base_url: Url,
pub timeout_secs: u64,
pub poll_timeout_secs: u64,
pub poll_interval_ms: u64,
pub workflow_template_path: PathBuf,
}Expand description
Configuration for the ComfyUI HTTP renderer.
Fields§
§base_url: UrlBase URL of the ComfyUI server (e.g., “http://127.0.0.1:8188”).
timeout_secs: u64HTTP timeout in seconds.
poll_timeout_secs: u64Polling timeout in seconds.
poll_interval_ms: u64Polling interval in milliseconds.
workflow_template_path: PathBufPath to the ComfyUI workflow template JSON file.
Trait Implementations§
Source§impl Clone for ComfyConfig
impl Clone for ComfyConfig
Source§impl Debug for ComfyConfig
impl Debug for ComfyConfig
Source§impl<'de> Deserialize<'de> for ComfyConfig
impl<'de> Deserialize<'de> for ComfyConfig
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
impl Eq for ComfyConfig
Source§impl PartialEq for ComfyConfig
impl PartialEq for ComfyConfig
Source§impl Serialize for ComfyConfig
impl Serialize for ComfyConfig
impl StructuralPartialEq for ComfyConfig
Auto Trait Implementations§
impl Freeze for ComfyConfig
impl RefUnwindSafe for ComfyConfig
impl Send for ComfyConfig
impl Sync for ComfyConfig
impl Unpin for ComfyConfig
impl UnsafeUnpin for ComfyConfig
impl UnwindSafe for ComfyConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.