pub struct SkillStep {
pub index: usize,
pub server_id: String,
pub tool_name: String,
pub label: Option<String>,
pub input_contract: Option<IoContract>,
pub output_contract: Option<IoContract>,
pub budget_limit: Option<MonetaryAmount>,
pub retryable: bool,
pub max_retries: Option<u32>,
}Expand description
A single step in a skill execution.
Fields§
§index: usizeStep index (0-based, for ordering).
server_id: StringTool server hosting this step’s tool.
tool_name: StringTool to invoke in this step.
label: Option<String>Human-readable step label.
input_contract: Option<IoContract>Input contract for this step.
output_contract: Option<IoContract>Output contract for this step.
budget_limit: Option<MonetaryAmount>Per-step budget limit.
retryable: boolWhether this step can be retried on failure.
max_retries: Option<u32>Maximum number of retries (only relevant if retryable is true).
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