pub struct Job {
pub id: i64,
pub args: Vec<String>,
pub cwd: PathBuf,
pub state: String,
pub created_at: i64,
pub started_at: Option<i64>,
pub finished_at: Option<i64>,
pub pid: Option<i64>,
pub exit_code: Option<i64>,
pub awaiting: Option<Vec<String>>,
}Expand description
A pma command queued to run detached.
Fields§
§id: i64§args: Vec<String>§cwd: PathBuf§state: Stringqueued, running, done, failed or stopped.
created_at: i64§started_at: Option<i64>§finished_at: Option<i64>§pid: Option<i64>The process group leader of a running job.
exit_code: Option<i64>§awaiting: Option<Vec<String>>For a job that stopped at a workflow plan: the arguments that approve
it, which pma job approve queues.
Trait Implementations§
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
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