pub struct NeedItem {
pub kind: String,
pub session_id: String,
pub node: Option<String>,
pub name: Option<String>,
pub title: Option<String>,
pub ts: String,
pub evidence: String,
pub live: bool,
}Expand description
One reason a session needs a human, resolved and ready to render. kind is
a stable string (review_wedged | budget_stop) the client maps to its own
severity enum; the fold does not rank (the client owns the full 6-kind
order, of which this leg populates two).
Fields§
§kind: String§session_id: String§node: Option<String>The graph node id, when the ledger resolves one.
name: Option<String>A display name to join a sideline row on (worktree basename or node id).
title: Option<String>§ts: StringThe deciding event’s timestamp (the wedge’s loop_check, or the stop).
evidence: StringA one-line human reason.
live: boolDoes this item’s node hold a live (or suspect) claim? Stamped by the IO
layer, not the pure fold. The client renders an item that joins no roster
row only when it is live, so a dead session’s stale stop never nags.
Trait Implementations§
impl StructuralPartialEq for NeedItem
Auto Trait Implementations§
impl Freeze for NeedItem
impl RefUnwindSafe for NeedItem
impl Send for NeedItem
impl Sync for NeedItem
impl Unpin for NeedItem
impl UnsafeUnpin for NeedItem
impl UnwindSafe for NeedItem
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