pub struct QueuedJob {
pub id: u64,
pub run_id: u64,
pub name: String,
pub labels: Vec<String>,
pub created_at: u64,
pub run_attempt: u32,
pub workflow: Option<String>,
pub branch: Option<String>,
pub url: Option<String>,
}Expand description
A job waiting for a runner.
Fields§
§id: u64The job’s ID; IDs grow with time.
run_id: u64The workflow run it belongs to.
name: StringThe job’s name in the workflow.
labels: Vec<String>The workflow’s runs-on labels.
created_at: u64When GitHub queued it, in milliseconds since the epoch; 0 if GitHub’s answer did not say.
run_attempt: u321 for the run’s first attempt.
workflow: Option<String>The workflow’s name.
branch: Option<String>The branch the run is for.
url: Option<String>The job’s page on GitHub.
Trait Implementations§
impl Eq for QueuedJob
impl StructuralPartialEq for QueuedJob
Auto Trait Implementations§
impl Freeze for QueuedJob
impl RefUnwindSafe for QueuedJob
impl Send for QueuedJob
impl Sync for QueuedJob
impl Unpin for QueuedJob
impl UnsafeUnpin for QueuedJob
impl UnwindSafe for QueuedJob
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