pub struct ExecutionCachedEventData {
pub nodes: Vec<String>,
pub prompt_id: String,
pub timestamp: u64,
}Expand description
Event payload indicating that the execution result was obtained from the cache rather than recalculated.
This structure is received when ComfyUI uses cached results for nodes in the workflow, which can significantly speed up execution when identical operations are performed.
Fields§
§nodes: Vec<String>A list of node identifiers that were retrieved from the cache instead of being re-executed.
prompt_id: StringThe prompt ID associated with the cached execution, linking this event to a specific workflow run.
timestamp: u64Unix timestamp indicating when the cached execution result was retrieved, useful for timing analysis.
Trait Implementations§
Source§impl Clone for ExecutionCachedEventData
impl Clone for ExecutionCachedEventData
Source§fn clone(&self) -> ExecutionCachedEventData
fn clone(&self) -> ExecutionCachedEventData
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 ExecutionCachedEventData
impl Debug for ExecutionCachedEventData
Source§impl<'de> Deserialize<'de> for ExecutionCachedEventData
impl<'de> Deserialize<'de> for ExecutionCachedEventData
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 ExecutionCachedEventData
impl RefUnwindSafe for ExecutionCachedEventData
impl Send for ExecutionCachedEventData
impl Sync for ExecutionCachedEventData
impl Unpin for ExecutionCachedEventData
impl UnwindSafe for ExecutionCachedEventData
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