pub struct JobReport {
pub job: String,
pub agent: String,
pub task: String,
pub status: JobStatus,
pub session: Option<String>,
pub reply: String,
}Expand description
A finished background job’s result, as the server reports it: to the
model in a report turn’s prompt, or to the client in
ServerEvent::BackgroundReported
when the model could not report it.
Fields§
§job: StringThe job’s handle, such as job-1.
agent: StringThe agent that ran it, such as codex.
task: StringThe first line of the delegated prompt, shortened; empty when unknown.
status: JobStatusHow it ended.
session: Option<String>The agent conversation it ran in, which a later agent call may
continue.
reply: StringThe agent’s reply, bounded: untrusted delegated-agent output.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobReport
impl<'de> Deserialize<'de> for JobReport
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 Eq for JobReport
impl StructuralPartialEq for JobReport
Auto Trait Implementations§
impl Freeze for JobReport
impl RefUnwindSafe for JobReport
impl Send for JobReport
impl Sync for JobReport
impl Unpin for JobReport
impl UnsafeUnpin for JobReport
impl UnwindSafe for JobReport
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