pub struct TaskClassRow {
pub task_class: String,
pub missions: u64,
pub closed_missions: u64,
pub total_cost_usd: f64,
pub non_meta_commits: u64,
pub usd_per_commit: Option<f64>,
pub escalations: u64,
pub advisor_invocations: u64,
pub escalations_per_mission: f64,
pub cycle_mean_ms: Option<f64>,
}Expand description
One task class’s row in the outcomes report (KRZ-321).
Fields§
§task_class: StringThe class as written in ticket frontmatter / the mission goal, or
UNCLASSIFIED_TASK_CLASS when the mission carried none.
missions: u64§closed_missions: u64§total_cost_usd: f64Σ worker cost across the class’s missions (same rule as
CostPerChange::total_cost_usd).
non_meta_commits: u64§usd_per_commit: Option<f64>total_cost_usd / non_meta_commits — None when the class has no non-meta commits (the ratio is meaningless, not zero).
escalations: u64Grant + block + revision rows raised by the class’s missions.
advisor_invocations: u64Of those, the grant parks — the advisor invocations.
escalations_per_mission: f64escalations / missions (every row has at least one mission).
cycle_mean_ms: Option<f64>Mean created→terminal (paused spans excluded) over the class’s missions with a computable cycle — None when none closed.
Trait Implementations§
Source§impl Clone for TaskClassRow
impl Clone for TaskClassRow
Source§fn clone(&self) -> TaskClassRow
fn clone(&self) -> TaskClassRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaskClassRow
impl Debug for TaskClassRow
Source§impl<'de> Deserialize<'de> for TaskClassRow
impl<'de> Deserialize<'de> for TaskClassRow
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
Source§impl PartialEq for TaskClassRow
impl PartialEq for TaskClassRow
Source§impl Serialize for TaskClassRow
impl Serialize for TaskClassRow
impl StructuralPartialEq for TaskClassRow
Auto Trait Implementations§
impl Freeze for TaskClassRow
impl RefUnwindSafe for TaskClassRow
impl Send for TaskClassRow
impl Sync for TaskClassRow
impl Unpin for TaskClassRow
impl UnsafeUnpin for TaskClassRow
impl UnwindSafe for TaskClassRow
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