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