pub struct IpcJobStatus {
pub id: String,
pub workflow: String,
pub state: IpcJobState,
pub name: Option<String>,
pub progress: u8,
pub error: Option<String>,
pub output: Option<String>,
pub created_at: u64,
pub started_at: Option<u64>,
pub ended_at: Option<u64>,
}Expand description
Job status for IPC responses.
Fields§
§id: StringJob ID (8-char UUID prefix)
workflow: StringWorkflow path
state: IpcJobStateCurrent state
name: Option<String>Optional job name
progress: u8Progress percentage (0-100)
error: Option<String>Error message (if failed)
output: Option<String>Output from the workflow (if completed)
created_at: u64Creation timestamp (Unix epoch millis)
started_at: Option<u64>Start timestamp (Unix epoch millis, if started)
ended_at: Option<u64>End timestamp (Unix epoch millis, if finished)
Trait Implementations§
Source§impl Clone for IpcJobStatus
impl Clone for IpcJobStatus
Source§fn clone(&self) -> IpcJobStatus
fn clone(&self) -> IpcJobStatus
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 IpcJobStatus
impl Debug for IpcJobStatus
Source§impl<'de> Deserialize<'de> for IpcJobStatus
impl<'de> Deserialize<'de> for IpcJobStatus
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 IpcJobStatus
impl RefUnwindSafe for IpcJobStatus
impl Send for IpcJobStatus
impl Sync for IpcJobStatus
impl Unpin for IpcJobStatus
impl UnsafeUnpin for IpcJobStatus
impl UnwindSafe for IpcJobStatus
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