pub struct WorkflowAgentConfig {
pub steps: Vec<WorkflowStep>,
pub parallel: bool,
pub error_strategy: ErrorStrategy,
}Expand description
Workflow Agent 配置
Fields§
§steps: Vec<WorkflowStep>工作流步骤
parallel: bool是否启用并行执行
error_strategy: ErrorStrategy错误处理策略
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowAgentConfig
impl Clone for WorkflowAgentConfig
Source§fn clone(&self) -> WorkflowAgentConfig
fn clone(&self) -> WorkflowAgentConfig
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 WorkflowAgentConfig
impl Debug for WorkflowAgentConfig
Source§impl Default for WorkflowAgentConfig
impl Default for WorkflowAgentConfig
Source§fn default() -> WorkflowAgentConfig
fn default() -> WorkflowAgentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowAgentConfig
impl<'de> Deserialize<'de> for WorkflowAgentConfig
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 WorkflowAgentConfig
impl RefUnwindSafe for WorkflowAgentConfig
impl Send for WorkflowAgentConfig
impl Sync for WorkflowAgentConfig
impl Unpin for WorkflowAgentConfig
impl UnsafeUnpin for WorkflowAgentConfig
impl UnwindSafe for WorkflowAgentConfig
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