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