pub enum WorkflowStep {
InProgress(WorkflowStepInProgress),
Queued(WorkflowStepQueued),
Completed(WorkflowStepCompleted),
}
Expand description
WorkflowStep
JSON schema
{
"title": "Workflow Step",
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/workflow-step-in_progress"
},
{
"$ref": "#/definitions/workflow-step-queued"
},
{
"$ref": "#/definitions/workflow-step-completed"
}
],
"$schema": "http://json-schema.org/draft-07/schema"
}
Variants§
Trait Implementations§
Source§impl Clone for WorkflowStep
impl Clone for WorkflowStep
Source§fn clone(&self) -> WorkflowStep
fn clone(&self) -> WorkflowStep
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 WorkflowStep
impl Debug for WorkflowStep
Source§impl<'de> Deserialize<'de> for WorkflowStep
impl<'de> Deserialize<'de> for WorkflowStep
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<&WorkflowStep> for WorkflowStep
impl From<&WorkflowStep> for WorkflowStep
Source§fn from(value: &WorkflowStep) -> Self
fn from(value: &WorkflowStep) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowStepCompleted> for WorkflowStep
impl From<WorkflowStepCompleted> for WorkflowStep
Source§fn from(value: WorkflowStepCompleted) -> Self
fn from(value: WorkflowStepCompleted) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowStepInProgress> for WorkflowStep
impl From<WorkflowStepInProgress> for WorkflowStep
Source§fn from(value: WorkflowStepInProgress) -> Self
fn from(value: WorkflowStepInProgress) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowStepQueued> for WorkflowStep
impl From<WorkflowStepQueued> for WorkflowStep
Source§fn from(value: WorkflowStepQueued) -> Self
fn from(value: WorkflowStepQueued) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowStep
impl RefUnwindSafe for WorkflowStep
impl Send for WorkflowStep
impl Sync for WorkflowStep
impl Unpin for WorkflowStep
impl UnwindSafe for WorkflowStep
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