pub struct WorkflowJobCompletedWorkflowJob {Show 23 fields
pub check_run_url: String,
pub completed_at: Option<DateTime<Utc>>,
pub conclusion: WorkflowJobCompletedWorkflowJobConclusion,
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: WorkflowJobCompletedWorkflowJobStatus,
pub steps: Vec<WorkflowStep>,
pub url: String,
pub workflow_name: Option<String>,
}
Expand description
WorkflowJobCompletedWorkflowJob
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",
"enum": [
"success",
"failure",
"cancelled",
"skipped"
]
},
"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": {
"description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`.",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed",
"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: WorkflowJobCompletedWorkflowJobConclusion
§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: WorkflowJobCompletedWorkflowJobStatus
The current status of the job. Can be queued
, in_progress
, or completed
.
steps: Vec<WorkflowStep>
§url: String
§workflow_name: Option<String>
The name of the workflow.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowJobCompletedWorkflowJob
impl Clone for WorkflowJobCompletedWorkflowJob
Source§fn clone(&self) -> WorkflowJobCompletedWorkflowJob
fn clone(&self) -> WorkflowJobCompletedWorkflowJob
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 WorkflowJobCompletedWorkflowJob
impl<'de> Deserialize<'de> for WorkflowJobCompletedWorkflowJob
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<&WorkflowJobCompletedWorkflowJob> for WorkflowJobCompletedWorkflowJob
impl From<&WorkflowJobCompletedWorkflowJob> for WorkflowJobCompletedWorkflowJob
Source§fn from(value: &WorkflowJobCompletedWorkflowJob) -> Self
fn from(value: &WorkflowJobCompletedWorkflowJob) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowJobCompletedWorkflowJob> for WorkflowJobCompletedWorkflowJob
impl From<WorkflowJobCompletedWorkflowJob> for WorkflowJobCompletedWorkflowJob
Source§fn from(value: WorkflowJobCompletedWorkflowJob) -> Self
fn from(value: WorkflowJobCompletedWorkflowJob) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowJobCompletedWorkflowJob
impl RefUnwindSafe for WorkflowJobCompletedWorkflowJob
impl Send for WorkflowJobCompletedWorkflowJob
impl Sync for WorkflowJobCompletedWorkflowJob
impl Unpin for WorkflowJobCompletedWorkflowJob
impl UnwindSafe for WorkflowJobCompletedWorkflowJob
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