pub struct WorkflowStep {
pub id: String,
pub name: String,
pub role: String,
pub description: Option<String>,
pub step_type: StepType,
pub loop_config: Option<StoryLoopConfig>,
pub input: String,
pub model: Option<String>,
pub contract: Option<StepContract>,
}Expand description
Workflow step definition
Fields§
§id: StringStep ID
name: StringStep name
role: StringRole assigned to this step
description: Option<String>Step description
step_type: StepTypeStep type (standard, story_loop, etc.)
loop_config: Option<StoryLoopConfig>Loop configuration (if type is story_loop)
input: StringStep input template (can use variable substitution)
model: Option<String>Optional model pin for this step
contract: Option<StepContract>Step contract for validation
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
Auto Trait Implementations§
impl Freeze for WorkflowStep
impl RefUnwindSafe for WorkflowStep
impl Send for WorkflowStep
impl Sync for WorkflowStep
impl Unpin for WorkflowStep
impl UnsafeUnpin 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