pub struct InboxItem {
pub kind: String,
pub feature: String,
pub task: Option<String>,
pub title: String,
pub detail: String,
pub since: Option<u64>,
pub actions: Vec<Action>,
}Expand description
One decision waiting for a person.
Fields§
§kind: StringWhat kind, in the order of urgency: approval (a run waits on it),
ruling (a verified attempt is held: its tests reject an
alternative the spec allows), gaming (the monitor suspects a
shortcut), stale (proven against an earlier wording), question
(the spec leaves questions open), review
(requirements not approved on their current wording), revise
(changes requested on the spec), stuck (the
last attempt did not pass), commit (planning files a run cannot
read yet), handoff (every task done: review and hand it off).
feature: StringThe feature.
task: Option<String>The task, when it is about one.
title: StringWhat to decide, in a line.
detail: StringWhat it rests on: the call, the reason, the changed requirement.
since: Option<u64>Waiting since (Unix seconds), when known.
actions: Vec<Action>The decisions, the one that moves the work forward first; each runs in the item’s feature.
Trait Implementations§
impl Eq for InboxItem
Source§impl JsonSchema for InboxItem
impl JsonSchema for InboxItem
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more