pub enum FlowStepKind {
Ask {
field: String,
prompt: String,
},
Tool {
tool_ref: String,
},
Challenge {
message: Option<String>,
},
Upload {
field: Option<String>,
prompt: Option<String>,
accept: Vec<String>,
},
Condition {
when: String,
then: Option<String>,
else_step: Option<String>,
},
Delay {
duration_seconds: u64,
},
Approval {
prompt: Option<String>,
},
Complete {
message: Option<String>,
},
}Expand description
Type-specific settings for a flow step. Serialized as { "type": ..., "config": {...} }
so new settings (retry, timeout, permissions, parallel) extend config without
changing the wire schema.
Variants§
Trait Implementations§
Source§impl Clone for FlowStepKind
impl Clone for FlowStepKind
Source§fn clone(&self) -> FlowStepKind
fn clone(&self) -> FlowStepKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlowStepKind
impl Debug for FlowStepKind
Source§impl<'de> Deserialize<'de> for FlowStepKind
impl<'de> Deserialize<'de> for FlowStepKind
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 FlowStepKind
impl PartialEq for FlowStepKind
Source§impl Serialize for FlowStepKind
impl Serialize for FlowStepKind
impl StructuralPartialEq for FlowStepKind
Auto Trait Implementations§
impl Freeze for FlowStepKind
impl RefUnwindSafe for FlowStepKind
impl Send for FlowStepKind
impl Sync for FlowStepKind
impl Unpin for FlowStepKind
impl UnsafeUnpin for FlowStepKind
impl UnwindSafe for FlowStepKind
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