pub struct Job {
pub role: Role,
pub prompt: String,
pub cwd: PathBuf,
pub run_dir: PathBuf,
pub raw_log: PathBuf,
pub schema: Option<&'static str>,
}Expand description
One subprocess call of a harness.
Fields§
§role: Role§prompt: String§cwd: PathBufThe run’s worktree.
run_dir: PathBufWhere files a harness call needs are written.
raw_log: PathBufWhere the raw output of a failed job is kept.
schema: Option<&'static str>JSON Schema text, when a structured result is wanted.
Trait Implementations§
impl Eq for Job
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Forget for Job
impl Freeze for Job
impl Move for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Jobwhere
RawVecInner: Sync,
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
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