boson-core 0.1.1

Portable Boson types, QueueBackend port, and identity hooks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Aggregate run statistics for a registered task.

use serde::{Deserialize, Serialize};

/// Run outcome counts for one task name.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
pub struct TaskRunStats {
    /// Total runs recorded.
    pub runs_total: u32,
    /// Successful runs.
    pub success_count: u32,
}