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