pub struct WorkerPrompt<'a> {
pub run_id: &'a str,
pub goal: &'a str,
pub task: &'a Task,
pub task_number: usize,
pub task_total: usize,
pub attempt: u32,
pub worktree: &'a Path,
pub branch: &'a str,
pub previous: Option<Previous<'a>>,
pub issues: &'a [Issue],
pub tell_user_to_resume: bool,
}Fields§
§run_id: &'a str§goal: &'a str§task: &'a Task§task_number: usize§task_total: usize§attempt: u32§worktree: &'a Path§branch: &'a str§previous: Option<Previous<'a>>None on a task’s first attempt.
issues: &'a [Issue]§tell_user_to_resume: boolTrue on a manual lane and on a pause: a person reads this file.
Trait Implementations§
Source§impl<'a> Clone for WorkerPrompt<'a>
impl<'a> Clone for WorkerPrompt<'a>
impl<'a> Copy for WorkerPrompt<'a>
Auto Trait Implementations§
impl<'a> Forget for WorkerPrompt<'a>
impl<'a> Freeze for WorkerPrompt<'a>
impl<'a> Move for WorkerPrompt<'a>
impl<'a> RefUnwindSafe for WorkerPrompt<'a>
impl<'a> Send for WorkerPrompt<'a>
impl<'a> Sync for WorkerPrompt<'a>where
RawVecInner: Sync,
impl<'a> Unpin for WorkerPrompt<'a>
impl<'a> UnsafeUnpin for WorkerPrompt<'a>
impl<'a> UnwindSafe for WorkerPrompt<'a>
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