pub struct PlanStep {
pub step_number: u32,
pub description: String,
pub tool_hint: Option<String>,
pub estimated_tokens: u64,
}Expand description
A single step in a serializable pre-execution plan.
Fields§
§step_number: u32Sequential step index, 1-based.
description: StringShort human-readable description of what this step will do.
tool_hint: Option<String>Name of the tool this step is expected to invoke, if known.
estimated_tokens: u64Estimated tokens this step will consume (prompt + completion combined).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanStep
impl<'de> Deserialize<'de> for PlanStep
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 PlanStep
impl RefUnwindSafe for PlanStep
impl Send for PlanStep
impl Sync for PlanStep
impl Unpin for PlanStep
impl UnsafeUnpin for PlanStep
impl UnwindSafe for PlanStep
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