pub struct FlowValue {Show 17 fields
pub modules: Vec<FlowModule>,
pub failure_module: Option<Box<FlowModule>>,
pub preprocessor_module: Option<Box<FlowModule>>,
pub same_worker: Option<bool>,
pub concurrent_limit: Option<f64>,
pub concurrency_key: Option<String>,
pub concurrency_time_window_s: Option<f64>,
pub debounce_delay_s: Option<f64>,
pub debounce_key: Option<String>,
pub skip_expr: Option<String>,
pub cache_ttl: Option<f64>,
pub cache_ignore_s3_path: Option<bool>,
pub flow_env: Option<HashMap<String, String>>,
pub priority: Option<f64>,
pub early_return: Option<String>,
pub chat_input_enabled: Option<bool>,
pub notes: Option<Vec<FlowNote>>,
}Expand description
FlowValue : The flow structure containing modules and optional preprocessor/failure handlers
Fields§
§modules: Vec<FlowModule>Array of steps that execute in sequence. Each step can be a script, subflow, loop, or branch
failure_module: Option<Box<FlowModule>>§preprocessor_module: Option<Box<FlowModule>>§same_worker: Option<bool>If true, all steps run on the same worker for better performance
concurrent_limit: Option<f64>Maximum number of concurrent executions of this flow
concurrency_key: Option<String>Expression to group concurrent executions (e.g., by user ID)
concurrency_time_window_s: Option<f64>Time window in seconds for concurrent_limit
debounce_delay_s: Option<f64>Delay in seconds to debounce flow executions
debounce_key: Option<String>Expression to group debounced executions
skip_expr: Option<String>JavaScript expression to conditionally skip the entire flow
cache_ttl: Option<f64>Cache duration in seconds for flow results
cache_ignore_s3_path: Option<bool>§flow_env: Option<HashMap<String, String>>Environment variables available to all steps
priority: Option<f64>Execution priority (higher numbers run first)
early_return: Option<String>JavaScript expression to return early from the flow
chat_input_enabled: Option<bool>Whether this flow accepts chat-style input
notes: Option<Vec<FlowNote>>Sticky notes attached to the flow
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlowValue
impl<'de> Deserialize<'de> for FlowValue
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>,
impl StructuralPartialEq for FlowValue
Auto Trait Implementations§
impl Freeze for FlowValue
impl RefUnwindSafe for FlowValue
impl Send for FlowValue
impl Sync for FlowValue
impl Unpin for FlowValue
impl UnwindSafe for FlowValue
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)