Struct StepAction
pub struct StepAction { /* private fields */ }Expand description
An action fired the first time a step becomes active: run an agent in an
AgentMode. Built with run. The result lands in {name}:result (the
name defaults to the step id), so a downstream step can complete on it via
Guard::resolved — this is how a flow drives orchestration in-session.
Implementations§
§impl StepAction
impl StepAction
pub fn named(self, name: impl Into<String>) -> StepAction
pub fn named(self, name: impl Into<String>) -> StepAction
Override the result name (defaults to the step id it is attached to).
Trait Implementations§
§impl Clone for StepAction
impl Clone for StepAction
§fn clone(&self) -> StepAction
fn clone(&self) -> StepAction
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 moreAuto Trait Implementations§
impl Freeze for StepAction
impl !RefUnwindSafe for StepAction
impl Send for StepAction
impl Sync for StepAction
impl Unpin for StepAction
impl !UnwindSafe for StepAction
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