Struct WorkflowJobWaitingWorkflowJob

Source
pub struct WorkflowJobWaitingWorkflowJob {
Show 23 fields pub check_run_url: String, pub completed_at: Option<DateTime<Utc>>, pub conclusion: Option<WorkflowJobWaitingWorkflowJobConclusion>, pub created_at: DateTime<Utc>, pub head_branch: Option<String>, pub head_sha: String, pub html_url: String, pub id: i64, pub labels: Vec<String>, pub name: String, pub node_id: String, pub run_attempt: i64, pub run_id: f64, pub run_url: String, pub runner_group_id: Option<i64>, pub runner_group_name: Option<String>, pub runner_id: Option<i64>, pub runner_name: Option<String>, pub started_at: DateTime<Utc>, pub status: WorkflowJobWaitingWorkflowJobStatus, pub steps: Vec<WorkflowStep>, pub url: String, pub workflow_name: Option<String>,
}
Expand description

WorkflowJobWaitingWorkflowJob

JSON schema
{
 "type": "object",
 "required": [
   "check_run_url",
   "completed_at",
   "conclusion",
   "created_at",
   "head_branch",
   "head_sha",
   "html_url",
   "id",
   "labels",
   "name",
   "node_id",
   "run_attempt",
   "run_id",
   "run_url",
   "runner_group_id",
   "runner_group_name",
   "runner_id",
   "runner_name",
   "started_at",
   "status",
   "steps",
   "url",
   "workflow_name"
 ],
 "properties": {
   "check_run_url": {
     "type": "string",
     "format": "uri"
   },
   "completed_at": {
     "oneOf": [
       {
         "type": "string",
         "format": "date-time"
       },
       {
         "type": "null"
       }
     ]
   },
   "conclusion": {
     "type": [
       "string",
       "null"
     ],
     "enum": [
       "success",
       "failure",
       "cancelled",
       "skipped",
       null
     ]
   },
   "created_at": {
     "type": "string",
     "format": "date-time"
   },
   "head_branch": {
     "description": "The name of the current branch.",
     "type": [
       "string",
       "null"
     ]
   },
   "head_sha": {
     "type": "string"
   },
   "html_url": {
     "type": "string",
     "format": "uri"
   },
   "id": {
     "type": "integer"
   },
   "labels": {
     "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.",
     "type": "array",
     "items": {
       "type": "string"
     }
   },
   "name": {
     "type": "string"
   },
   "node_id": {
     "type": "string"
   },
   "run_attempt": {
     "type": "integer"
   },
   "run_id": {
     "type": "number"
   },
   "run_url": {
     "type": "string",
     "format": "uri"
   },
   "runner_group_id": {
     "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.",
     "type": [
       "integer",
       "null"
     ]
   },
   "runner_group_name": {
     "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.",
     "type": [
       "string",
       "null"
     ]
   },
   "runner_id": {
     "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.",
     "type": [
       "integer",
       "null"
     ]
   },
   "runner_name": {
     "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.",
     "type": [
       "string",
       "null"
     ]
   },
   "started_at": {
     "type": "string",
     "format": "date-time"
   },
   "status": {
     "type": "string",
     "enum": [
       "waiting"
     ]
   },
   "steps": {
     "type": "array",
     "items": {
       "$ref": "#/definitions/workflow-step"
     }
   },
   "url": {
     "type": "string",
     "format": "uri"
   },
   "workflow_name": {
     "description": "The name of the workflow.",
     "type": [
       "string",
       "null"
     ]
   }
 },
 "additionalProperties": false
}

Fields§

§check_run_url: String§completed_at: Option<DateTime<Utc>>§conclusion: Option<WorkflowJobWaitingWorkflowJobConclusion>§created_at: DateTime<Utc>§head_branch: Option<String>

The name of the current branch.

§head_sha: String§html_url: String§id: i64§labels: Vec<String>

Custom labels for the job. Specified by the "runs-on" attribute in the workflow YAML.

§name: String§node_id: String§run_attempt: i64§run_id: f64§run_url: String§runner_group_id: Option<i64>

The ID of the runner group that is running this job. This will be null as long as workflow_job[status] is queued.

§runner_group_name: Option<String>

The name of the runner group that is running this job. This will be null as long as workflow_job[status] is queued.

§runner_id: Option<i64>

The ID of the runner that is running this job. This will be null as long as workflow_job[status] is queued.

§runner_name: Option<String>

The name of the runner that is running this job. This will be null as long as workflow_job[status] is queued.

§started_at: DateTime<Utc>§status: WorkflowJobWaitingWorkflowJobStatus§steps: Vec<WorkflowStep>§url: String§workflow_name: Option<String>

The name of the workflow.

Implementations§

Trait Implementations§

Source§

impl Clone for WorkflowJobWaitingWorkflowJob

Source§

fn clone(&self) -> WorkflowJobWaitingWorkflowJob

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WorkflowJobWaitingWorkflowJob

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WorkflowJobWaitingWorkflowJob

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<&WorkflowJobWaitingWorkflowJob> for WorkflowJobWaitingWorkflowJob

Source§

fn from(value: &WorkflowJobWaitingWorkflowJob) -> Self

Converts to this type from the input type.
Source§

impl From<WorkflowJobWaitingWorkflowJob> for WorkflowJobWaitingWorkflowJob

Source§

fn from(value: WorkflowJobWaitingWorkflowJob) -> Self

Converts to this type from the input type.
Source§

impl Serialize for WorkflowJobWaitingWorkflowJob

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<WorkflowJobWaitingWorkflowJob> for WorkflowJobWaitingWorkflowJob

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(value: WorkflowJobWaitingWorkflowJob) -> Result<Self, String>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,