pub struct JobListEntry {
pub job_id: String,
pub job_type: Option<String>,
pub status: String,
pub result: Option<Value>,
pub error: Option<String>,
pub cost_ticks: i64,
pub created_at: Option<String>,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub request_id: Option<String>,
}Expand description
A single job entry in the detailed job list response.
Fields§
§job_id: StringUnique job identifier.
job_type: Option<String>Job type (e.g. “video/generate”, “audio/tts”).
status: StringJob status (“pending”, “processing”, “completed”, “failed”).
result: Option<Value>Job output when completed.
error: Option<String>Error message if the job failed.
cost_ticks: i64Total cost in ticks.
created_at: Option<String>Job creation timestamp.
started_at: Option<String>When processing began.
completed_at: Option<String>When the job finished.
request_id: Option<String>Originating request identifier.
Trait Implementations§
Source§impl Clone for JobListEntry
impl Clone for JobListEntry
Source§fn clone(&self) -> JobListEntry
fn clone(&self) -> JobListEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JobListEntry
impl Debug for JobListEntry
Source§impl<'de> Deserialize<'de> for JobListEntry
impl<'de> Deserialize<'de> for JobListEntry
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 JobListEntry
impl RefUnwindSafe for JobListEntry
impl Send for JobListEntry
impl Sync for JobListEntry
impl Unpin for JobListEntry
impl UnsafeUnpin for JobListEntry
impl UnwindSafe for JobListEntry
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