pub struct JobDetails {Show 15 fields
pub id: u64,
pub run_id: u64,
pub run_attempt: u32,
pub name: String,
pub workflow_name: Option<String>,
pub head_branch: Option<String>,
pub html_url: Option<String>,
pub labels: Vec<String>,
pub created_at: Option<String>,
pub status: String,
pub conclusion: Option<String>,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub runner_name: Option<String>,
pub steps: Vec<JobStep>,
}Expand description
A job as GET /repos/{owner}/{repo}/actions/jobs/{id} describes it: its progress and steps.
Fields§
§id: u64The job’s ID.
run_id: u64The workflow run it belongs to.
run_attempt: u321 for the run’s first attempt.
name: StringThe job’s name in the workflow.
workflow_name: Option<String>The workflow’s name.
head_branch: Option<String>The branch the run is for.
html_url: Option<String>The job’s page on GitHub.
labels: Vec<String>The workflow’s runs-on labels.
created_at: Option<String>When GitHub queued it.
status: Stringqueued, in_progress, completed, waiting, ….
conclusion: Option<String>Once completed: success, failure, cancelled, ….
started_at: Option<String>When the runner started it.
completed_at: Option<String>When it completed.
runner_name: Option<String>The runner that took it, if one did.
steps: Vec<JobStep>Its steps so far.
Trait Implementations§
Source§impl Clone for JobDetails
impl Clone for JobDetails
Source§impl Debug for JobDetails
impl Debug for JobDetails
Source§impl<'de> Deserialize<'de> for JobDetails
impl<'de> Deserialize<'de> for JobDetails
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
impl Eq for JobDetails
Source§impl PartialEq for JobDetails
impl PartialEq for JobDetails
impl StructuralPartialEq for JobDetails
Auto Trait Implementations§
impl Freeze for JobDetails
impl RefUnwindSafe for JobDetails
impl Send for JobDetails
impl Sync for JobDetails
impl Unpin for JobDetails
impl UnsafeUnpin for JobDetails
impl UnwindSafe for JobDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.