pub struct JobResponse {Show 15 fields
pub success: bool,
pub job_id: String,
pub thread_id: Option<String>,
pub status: JobStatus,
pub prompt: String,
pub created_at: String,
pub cancellable: Option<bool>,
pub status_updates: Option<Vec<StatusUpdate>>,
pub started_at: Option<String>,
pub response: Option<String>,
pub rich_data: Option<Vec<RichDataItem>>,
pub completed_at: Option<String>,
pub processing_time: Option<u64>,
pub error: Option<String>,
pub cancelled_at: Option<String>,
}Expand description
Response from GET /agent/job/{jobId}.
Fields§
§success: boolWhether the request succeeded.
job_id: StringJob identifier.
thread_id: Option<String>Conversation thread ID.
status: JobStatusCurrent job status.
prompt: StringOriginal prompt submitted.
created_at: StringISO 8601 creation timestamp.
cancellable: Option<bool>Whether the job can still be cancelled.
status_updates: Option<Vec<StatusUpdate>>Progress messages during processing.
started_at: Option<String>When processing started.
response: Option<String>Agent response text (when completed).
rich_data: Option<Vec<RichDataItem>>Additional structured data (when completed).
completed_at: Option<String>When the job finished (completed or failed).
processing_time: Option<u64>Processing duration in milliseconds (when completed).
error: Option<String>Error message (when failed).
cancelled_at: Option<String>When the job was cancelled.
Trait Implementations§
Source§impl Clone for JobResponse
impl Clone for JobResponse
Source§fn clone(&self) -> JobResponse
fn clone(&self) -> JobResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobResponse
impl Debug for JobResponse
Source§impl<'de> Deserialize<'de> for JobResponse
impl<'de> Deserialize<'de> for JobResponse
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
Auto Trait Implementations§
impl Freeze for JobResponse
impl RefUnwindSafe for JobResponse
impl Send for JobResponse
impl Sync for JobResponse
impl Unpin for JobResponse
impl UnsafeUnpin for JobResponse
impl UnwindSafe for JobResponse
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