pub enum StepStatus {
Pending,
Running,
Completed,
Failed,
Skipped,
AwaitingApproval,
Rejected,
}Expand description
Status of an individual step within a run.
§Examples
use ironflow_store::entities::StepStatus;
assert!(!StepStatus::Pending.is_terminal());
assert!(StepStatus::Completed.is_terminal());JSON schema
{
"description": "Status of an individual step within a run.\n\n# Examples\n\n```\nuse ironflow_store::entities::StepStatus;\n\nassert!(!StepStatus::Pending.is_terminal());\nassert!(StepStatus::Completed.is_terminal());\n```",
"type": "string",
"enum": [
"pending",
"running",
"completed",
"failed",
"skipped",
"awaiting_approval",
"rejected"
]
}
```ignore
</details>Variants§
Trait Implementations§
Source§impl Clone for StepStatus
impl Clone for StepStatus
impl Copy for StepStatus
Source§impl Debug for StepStatus
impl Debug for StepStatus
Source§impl<'de> Deserialize<'de> for StepStatus
impl<'de> Deserialize<'de> for StepStatus
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 Display for StepStatus
impl Display for StepStatus
impl Eq for StepStatus
Source§impl FromStr for StepStatus
impl FromStr for StepStatus
Source§impl Hash for StepStatus
impl Hash for StepStatus
Source§impl Ord for StepStatus
impl Ord for StepStatus
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StepStatus
impl PartialEq for StepStatus
Source§impl PartialOrd for StepStatus
impl PartialOrd for StepStatus
Source§impl Serialize for StepStatus
impl Serialize for StepStatus
impl StructuralPartialEq for StepStatus
Source§impl TryFrom<&String> for StepStatus
impl TryFrom<&String> for StepStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for StepStatus
impl TryFrom<&str> for StepStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for StepStatus
impl TryFrom<String> for StepStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for StepStatus
impl RefUnwindSafe for StepStatus
impl Send for StepStatus
impl Sync for StepStatus
impl Unpin for StepStatus
impl UnsafeUnpin for StepStatus
impl UnwindSafe for StepStatus
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