pub struct WorkflowJobInProgress {
pub action: WorkflowJobInProgressAction,
pub deployment: Option<Deployment>,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
pub workflow_job: WorkflowJobInProgressWorkflowJob,
}
Expand description
WorkflowJobInProgress
JSON schema
{
"title": "workflow_job in_progress event",
"type": "object",
"required": [
"action",
"repository",
"sender",
"workflow_job"
],
"properties": {
"action": {
"type": "string",
"enum": [
"in_progress"
]
},
"deployment": {
"$ref": "#/definitions/deployment"
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
},
"workflow_job": {
"allOf": [
{
"$ref": "#/definitions/workflow-job"
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"enum": [
"queued",
"in_progress"
]
}
},
"tsAdditionalProperties": false
}
]
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: WorkflowJobInProgressAction
§deployment: Option<Deployment>
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: User
§workflow_job: WorkflowJobInProgressWorkflowJob
Implementations§
Source§impl WorkflowJobInProgress
impl WorkflowJobInProgress
pub fn builder() -> WorkflowJobInProgress
Trait Implementations§
Source§impl Clone for WorkflowJobInProgress
impl Clone for WorkflowJobInProgress
Source§fn clone(&self) -> WorkflowJobInProgress
fn clone(&self) -> WorkflowJobInProgress
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 WorkflowJobInProgress
impl Debug for WorkflowJobInProgress
Source§impl<'de> Deserialize<'de> for WorkflowJobInProgress
impl<'de> Deserialize<'de> for WorkflowJobInProgress
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<&WorkflowJobInProgress> for WorkflowJobInProgress
impl From<&WorkflowJobInProgress> for WorkflowJobInProgress
Source§fn from(value: &WorkflowJobInProgress) -> Self
fn from(value: &WorkflowJobInProgress) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowJobInProgress> for WorkflowJobEvent
impl From<WorkflowJobInProgress> for WorkflowJobEvent
Source§fn from(value: WorkflowJobInProgress) -> Self
fn from(value: WorkflowJobInProgress) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowJobInProgress> for WorkflowJobInProgress
impl From<WorkflowJobInProgress> for WorkflowJobInProgress
Source§fn from(value: WorkflowJobInProgress) -> Self
fn from(value: WorkflowJobInProgress) -> Self
Converts to this type from the input type.
Source§impl Serialize for WorkflowJobInProgress
impl Serialize for WorkflowJobInProgress
Auto Trait Implementations§
impl Freeze for WorkflowJobInProgress
impl RefUnwindSafe for WorkflowJobInProgress
impl Send for WorkflowJobInProgress
impl Sync for WorkflowJobInProgress
impl Unpin for WorkflowJobInProgress
impl UnwindSafe for WorkflowJobInProgress
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