pub struct State {Show 22 fields
pub v: u32,
pub run_id: String,
pub goal: String,
pub updated_at: u64,
pub repo: PathBuf,
pub worktree: PathBuf,
pub branch: String,
pub phase: Phase,
pub paused: Option<Paused>,
pub task_index: Option<usize>,
pub task_base: Option<String>,
pub attempt: Option<u32>,
pub attempts_used: u32,
pub lane: Option<String>,
pub unknown_streak: u32,
pub skipped: Vec<String>,
pub last_end: Option<LastEnd>,
pub approved: bool,
pub issues: Vec<Issue>,
pub last_output_tail: String,
pub job_seq: u64,
pub lanes: BTreeMap<String, LaneMark>,
}Fields§
§v: u32§run_id: String§goal: String§updated_at: u64Unix milliseconds; set on every write.
repo: PathBufThe main checkout.
worktree: PathBuf§branch: String§phase: Phase§paused: Option<Paused>§task_index: Option<usize>1-based position in the plan’s tasks; None before the first task.
task_base: Option<String>The worktree’s HEAD when the current task started.
attempt: Option<u32>The task’s running attempt number, 1-based; never reset by resume.
attempts_used: u32What the attempt budget counts; resume and a new task set it to 0.
lane: Option<String>§unknown_streak: u32§skipped: Vec<String>Lanes skipped for the current task.
last_end: Option<LastEnd>§approved: boolTrue between an approve verdict and the task commit.
issues: Vec<Issue>§last_output_tail: String§job_seq: u64Numbers every job of the run; names the raw log files.
lanes: BTreeMap<String, LaneMark>Trait Implementations§
Source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
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
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Forget for State
impl Freeze for Statewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Issue>: Freeze,
*const LeafNode<String, LaneMark> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, LaneMark)>>: Freeze,
impl Move for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for Statewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Issue>: UnsafeUnpin,
*const LeafNode<String, LaneMark> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, LaneMark)>>: UnsafeUnpin,
impl UnwindSafe for State
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