pub struct WorkflowStepSchema {
pub type: WorkflowStepSchemaType,
pub action: String,
pub cron_expression: Option<String>,
pub config: String,
}Expand description
A single executable step in a workflow.
Fields§
§type: WorkflowStepSchemaTypeStep execution type.
action: StringAction executed by the step.
cron_expression: Option<String>Optional cron expression for scheduled execution, in UTC. When set, the step creates a sync job cron trigger instead of starting a run, so the trigger’s check applies: the step fails if the expression doesn’t parse or its next two runs are less than 5 minutes apart.
config: StringJSONata expression evaluated at runtime to generate the step execution payload.
Trait Implementations§
Source§impl Clone for WorkflowStepSchema
impl Clone for WorkflowStepSchema
Source§impl Debug for WorkflowStepSchema
impl Debug for WorkflowStepSchema
Source§impl Default for WorkflowStepSchema
impl Default for WorkflowStepSchema
Source§impl<'de> Deserialize<'de> for WorkflowStepSchemawhere
WorkflowStepSchema: Default,
impl<'de> Deserialize<'de> for WorkflowStepSchemawhere
WorkflowStepSchema: Default,
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 PartialEq for WorkflowStepSchema
impl PartialEq for WorkflowStepSchema
Source§impl Serialize for WorkflowStepSchema
impl Serialize for WorkflowStepSchema
impl StructuralPartialEq for WorkflowStepSchema
Auto Trait Implementations§
impl Freeze for WorkflowStepSchema
impl RefUnwindSafe for WorkflowStepSchema
impl Send for WorkflowStepSchema
impl Sync for WorkflowStepSchema
impl Unpin for WorkflowStepSchema
impl UnsafeUnpin for WorkflowStepSchema
impl UnwindSafe for WorkflowStepSchema
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