pub struct SkillStep {
pub name: String,
pub tool: String,
pub arguments: Value,
pub continue_on_error: bool,
pub timeout_secs: Option<u64>,
pub max_retries: Option<usize>,
}Expand description
A step in a skill workflow
Fields§
§name: StringStep name/identifier
tool: StringTool to execute
arguments: ValueArguments for the tool (can reference previous step outputs)
continue_on_error: boolWhether to continue on error
timeout_secs: Option<u64>Optional per-step timeout override (in seconds)
max_retries: Option<usize>Optional per-step max retries override
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkillStep
impl<'de> Deserialize<'de> for SkillStep
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 SkillStep
impl RefUnwindSafe for SkillStep
impl Send for SkillStep
impl Sync for SkillStep
impl Unpin for SkillStep
impl UnsafeUnpin for SkillStep
impl UnwindSafe for SkillStep
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