pub struct WorkflowRunRequested {
pub action: WorkflowRunRequestedAction,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
pub workflow: Workflow,
pub workflow_run: WorkflowRun,
}
Expand description
WorkflowRunRequested
JSON schema
{
"title": "workflow_run requested event",
"type": "object",
"required": [
"action",
"repository",
"sender",
"workflow",
"workflow_run"
],
"properties": {
"action": {
"type": "string",
"enum": [
"requested"
]
},
"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: WorkflowRunRequestedAction
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: User
§workflow: Workflow
§workflow_run: WorkflowRun
Implementations§
Source§impl WorkflowRunRequested
impl WorkflowRunRequested
pub fn builder() -> WorkflowRunRequested
Trait Implementations§
Source§impl Clone for WorkflowRunRequested
impl Clone for WorkflowRunRequested
Source§fn clone(&self) -> WorkflowRunRequested
fn clone(&self) -> WorkflowRunRequested
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 WorkflowRunRequested
impl Debug for WorkflowRunRequested
Source§impl<'de> Deserialize<'de> for WorkflowRunRequested
impl<'de> Deserialize<'de> for WorkflowRunRequested
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<&WorkflowRunRequested> for WorkflowRunRequested
impl From<&WorkflowRunRequested> for WorkflowRunRequested
Source§fn from(value: &WorkflowRunRequested) -> Self
fn from(value: &WorkflowRunRequested) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowRunRequested> for WorkflowRunEvent
impl From<WorkflowRunRequested> for WorkflowRunEvent
Source§fn from(value: WorkflowRunRequested) -> Self
fn from(value: WorkflowRunRequested) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowRunRequested> for WorkflowRunRequested
impl From<WorkflowRunRequested> for WorkflowRunRequested
Source§fn from(value: WorkflowRunRequested) -> Self
fn from(value: WorkflowRunRequested) -> Self
Converts to this type from the input type.
Source§impl Serialize for WorkflowRunRequested
impl Serialize for WorkflowRunRequested
Auto Trait Implementations§
impl Freeze for WorkflowRunRequested
impl RefUnwindSafe for WorkflowRunRequested
impl Send for WorkflowRunRequested
impl Sync for WorkflowRunRequested
impl Unpin for WorkflowRunRequested
impl UnwindSafe for WorkflowRunRequested
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