pub enum WorkflowRunEvent {
Completed(WorkflowRunCompleted),
InProgress(WorkflowRunInProgress),
Requested(WorkflowRunRequested),
}
Expand description
WorkflowRunEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/workflow_run$completed"
},
{
"$ref": "#/definitions/workflow_run$in_progress"
},
{
"$ref": "#/definitions/workflow_run$requested"
}
]
}
Variants§
Trait Implementations§
Source§impl Clone for WorkflowRunEvent
impl Clone for WorkflowRunEvent
Source§fn clone(&self) -> WorkflowRunEvent
fn clone(&self) -> WorkflowRunEvent
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 WorkflowRunEvent
impl Debug for WorkflowRunEvent
Source§impl<'de> Deserialize<'de> for WorkflowRunEvent
impl<'de> Deserialize<'de> for WorkflowRunEvent
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<&WorkflowRunEvent> for WorkflowRunEvent
impl From<&WorkflowRunEvent> for WorkflowRunEvent
Source§fn from(value: &WorkflowRunEvent) -> Self
fn from(value: &WorkflowRunEvent) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowRunCompleted> for WorkflowRunEvent
impl From<WorkflowRunCompleted> for WorkflowRunEvent
Source§fn from(value: WorkflowRunCompleted) -> Self
fn from(value: WorkflowRunCompleted) -> 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<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.
Auto Trait Implementations§
impl Freeze for WorkflowRunEvent
impl RefUnwindSafe for WorkflowRunEvent
impl Send for WorkflowRunEvent
impl Sync for WorkflowRunEvent
impl Unpin for WorkflowRunEvent
impl UnwindSafe for WorkflowRunEvent
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