pub struct WorkflowJobQueuedWorkflowJob {Show 23 fields
pub check_run_url: String,
pub completed_at: Option<DateTime<Utc>>,
pub conclusion: Option<WorkflowJobQueuedWorkflowJobConclusion>,
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: WorkflowJobQueuedWorkflowJobStatus,
pub steps: Vec<WorkflowStep>,
pub url: String,
pub workflow_name: Option<String>,
}
Expand description
WorkflowJobQueuedWorkflowJob
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": [
"queued",
"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<WorkflowJobQueuedWorkflowJobConclusion>
§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: WorkflowJobQueuedWorkflowJobStatus
§steps: Vec<WorkflowStep>
§url: String
§workflow_name: Option<String>
The name of the workflow.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowJobQueuedWorkflowJob
impl Clone for WorkflowJobQueuedWorkflowJob
Source§fn clone(&self) -> WorkflowJobQueuedWorkflowJob
fn clone(&self) -> WorkflowJobQueuedWorkflowJob
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 Debug for WorkflowJobQueuedWorkflowJob
impl Debug for WorkflowJobQueuedWorkflowJob
Source§impl<'de> Deserialize<'de> for WorkflowJobQueuedWorkflowJob
impl<'de> Deserialize<'de> for WorkflowJobQueuedWorkflowJob
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<&WorkflowJobQueuedWorkflowJob> for WorkflowJobQueuedWorkflowJob
impl From<&WorkflowJobQueuedWorkflowJob> for WorkflowJobQueuedWorkflowJob
Source§fn from(value: &WorkflowJobQueuedWorkflowJob) -> Self
fn from(value: &WorkflowJobQueuedWorkflowJob) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowJobQueuedWorkflowJob> for WorkflowJobQueuedWorkflowJob
impl From<WorkflowJobQueuedWorkflowJob> for WorkflowJobQueuedWorkflowJob
Source§fn from(value: WorkflowJobQueuedWorkflowJob) -> Self
fn from(value: WorkflowJobQueuedWorkflowJob) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowJobQueuedWorkflowJob
impl RefUnwindSafe for WorkflowJobQueuedWorkflowJob
impl Send for WorkflowJobQueuedWorkflowJob
impl Sync for WorkflowJobQueuedWorkflowJob
impl Unpin for WorkflowJobQueuedWorkflowJob
impl UnwindSafe for WorkflowJobQueuedWorkflowJob
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