pub struct PlannedStep {
pub id: u32,
pub name: String,
pub capability: String,
pub effect: &'static str,
pub budget: u32,
pub inputs: Vec<String>,
pub outputs: Vec<String>,
pub depends_on: Vec<u32>,
}Expand description
A single planned step in the agent plan.
Fields§
§id: u32Node ID within the plan DAG.
name: StringHuman-readable step name.
capability: StringCapability invoke-ID this step will call.
effect: &'static strEffect class: “pure”, “hot”, “cold”, “async”, or “external”.
budget: u32Token/cycle budget for this step.
inputs: Vec<String>Input channel names this step consumes.
outputs: Vec<String>Output channel names this step produces.
depends_on: Vec<u32>IDs of steps this step depends on.
Trait Implementations§
Source§impl Clone for PlannedStep
impl Clone for PlannedStep
Source§impl Debug for PlannedStep
impl Debug for PlannedStep
Source§impl PartialEq for PlannedStep
impl PartialEq for PlannedStep
impl StructuralPartialEq for PlannedStep
Auto Trait Implementations§
impl Freeze for PlannedStep
impl RefUnwindSafe for PlannedStep
impl Send for PlannedStep
impl Sync for PlannedStep
impl Unpin for PlannedStep
impl UnsafeUnpin for PlannedStep
impl UnwindSafe for PlannedStep
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more