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
impl Clone for WorkflowJobWaitingWorkflowJob
Source§fn clone(&self) -> WorkflowJobWaitingWorkflowJob
fn clone(&self) -> WorkflowJobWaitingWorkflowJob
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for WorkflowJobWaitingWorkflowJob
impl<'de> Deserialize<'de> for WorkflowJobWaitingWorkflowJob
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
Source§impl From<&WorkflowJobWaitingWorkflowJob> for WorkflowJobWaitingWorkflowJob
impl From<&WorkflowJobWaitingWorkflowJob> for WorkflowJobWaitingWorkflowJob
Source§fn from(value: &WorkflowJobWaitingWorkflowJob) -> Self
fn from(value: &WorkflowJobWaitingWorkflowJob) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowJobWaitingWorkflowJob> for WorkflowJobWaitingWorkflowJob
impl From<WorkflowJobWaitingWorkflowJob> for WorkflowJobWaitingWorkflowJob
Source§fn from(value: WorkflowJobWaitingWorkflowJob) -> Self
fn from(value: WorkflowJobWaitingWorkflowJob) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowJobWaitingWorkflowJob
impl RefUnwindSafe for WorkflowJobWaitingWorkflowJob
impl Send for WorkflowJobWaitingWorkflowJob
impl Sync for WorkflowJobWaitingWorkflowJob
impl Unpin for WorkflowJobWaitingWorkflowJob
impl UnwindSafe for WorkflowJobWaitingWorkflowJob
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