pub struct WorkflowRecipe {
pub name: String,
pub description: String,
pub args_schema: Value,
pub run: RecipeRun,
}Expand description
A named, agent-invocable workflow recipe.
Fields§
§name: StringStable identifier the agent passes as recipe.
description: StringOne-line description shown to the agent (how/when to use it).
args_schema: ValueJSON Schema for the recipe’s args (advisory — shown to the agent).
run: RecipeRunThe recipe body.
Trait Implementations§
Source§impl Clone for WorkflowRecipe
impl Clone for WorkflowRecipe
Source§fn clone(&self) -> WorkflowRecipe
fn clone(&self) -> WorkflowRecipe
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for WorkflowRecipe
impl !UnwindSafe for WorkflowRecipe
impl Freeze for WorkflowRecipe
impl Send for WorkflowRecipe
impl Sync for WorkflowRecipe
impl Unpin for WorkflowRecipe
impl UnsafeUnpin for WorkflowRecipe
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