pub struct WorkingRun {
pub feature: String,
pub task: Option<String>,
pub started: u64,
pub pid: u32,
pub state: String,
}Expand description
A run in progress, this host’s or another speccoder process’s.
Fields§
§feature: StringThe feature.
task: Option<String>The task it works on, when known.
started: u64Started (Unix seconds).
pid: u32The process.
state: Stringrunning, or unknown: its process is gone and it did not finish.
Trait Implementations§
Source§impl Clone for WorkingRun
impl Clone for WorkingRun
Source§impl Debug for WorkingRun
impl Debug for WorkingRun
impl Eq for WorkingRun
Source§impl JsonSchema for WorkingRun
impl JsonSchema for WorkingRun
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WorkingRun
impl PartialEq for WorkingRun
Source§impl Serialize for WorkingRun
impl Serialize for WorkingRun
impl StructuralPartialEq for WorkingRun
Auto Trait Implementations§
impl Freeze for WorkingRun
impl RefUnwindSafe for WorkingRun
impl Send for WorkingRun
impl Sync for WorkingRun
impl Unpin for WorkingRun
impl UnsafeUnpin for WorkingRun
impl UnwindSafe for WorkingRun
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