pub struct QueueRunSummary {
pub run_id: Uuid,
pub started_at_ms: u64,
pub completed_at_ms: u64,
pub total_attempts_downloaded: u32,
pub total_attempts_failed: u32,
pub total_attempts_cancelled: u32,
pub unique_models_downloaded: u32,
pub unique_models_failed: u32,
pub unique_models_cancelled: u32,
pub truncated: bool,
pub items: Vec<CompletionDetail>,
}Expand description
Summary of an entire queue run from start to drain.
Emitted when the queue transitions from busy → idle, capturing all completions that occurred during the run regardless of timing.
Fields§
§run_id: UuidUnique identifier for this queue run.
started_at_ms: u64Unix timestamp (milliseconds since epoch) when the run started.
completed_at_ms: u64Unix timestamp (milliseconds since epoch) when the run completed.
total_attempts_downloaded: u32Total download attempts that succeeded.
total_attempts_failed: u32Total download attempts that failed.
total_attempts_cancelled: u32Total download attempts that were cancelled.
unique_models_downloaded: u32Number of unique models successfully downloaded.
unique_models_failed: u32Number of unique models that failed.
unique_models_cancelled: u32Number of unique models that were cancelled.
truncated: boolTrue if there are more items than shown in items.
items: Vec<CompletionDetail>Detailed completion records, sorted by last_completed_at_ms (newest first).
Capped at 20 items for payload size management.
Implementations§
Source§impl QueueRunSummary
impl QueueRunSummary
Sourcepub const fn total_unique_models(&self) -> u32
pub const fn total_unique_models(&self) -> u32
Total number of unique models across all result kinds.
Sourcepub const fn total_attempts(&self) -> u32
pub const fn total_attempts(&self) -> u32
Total number of attempts across all result kinds.
Sourcepub fn has_retries(&self) -> bool
pub fn has_retries(&self) -> bool
Check if any models had retry attempts.
Trait Implementations§
Source§impl Clone for QueueRunSummary
impl Clone for QueueRunSummary
Source§fn clone(&self) -> QueueRunSummary
fn clone(&self) -> QueueRunSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more