pub struct OpenJob {
pub id: u64,
pub repository: String,
pub state: JobState,
pub runner: Option<String>,
pub runner_removed_at: Option<u64>,
}Expand description
A job the history has not closed, as the engine needs it after a restart.
Fields§
§id: u64GitHub’s job ID.
repository: Stringowner/name.
state: JobStateQueued or Running.
runner: Option<String>Its runner, once one took it.
runner_removed_at: Option<u64>When its runner was removed, in milliseconds since the epoch.
Trait Implementations§
impl Eq for OpenJob
impl StructuralPartialEq for OpenJob
Auto Trait Implementations§
impl Freeze for OpenJob
impl RefUnwindSafe for OpenJob
impl Send for OpenJob
impl Sync for OpenJob
impl Unpin for OpenJob
impl UnsafeUnpin for OpenJob
impl UnwindSafe for OpenJob
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