pub struct DecisionInput {
pub total_tools: usize,
pub failed_tools: usize,
pub replans: usize,
pub elapsed_ms: u64,
pub task_completed: bool,
pub task_description: Option<String>,
pub rules_used: Vec<String>,
pub tools_detail: Vec<ToolExecDetail>,
}Expand description
Input for recording a decision. The agent converts its ExecutionFeedback to this.
Fields§
§total_tools: usize§failed_tools: usize§replans: usize§elapsed_ms: u64§task_completed: bool§task_description: Option<String>§rules_used: Vec<String>§tools_detail: Vec<ToolExecDetail>Trait Implementations§
Source§impl Clone for DecisionInput
impl Clone for DecisionInput
Source§fn clone(&self) -> DecisionInput
fn clone(&self) -> DecisionInput
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 moreSource§impl Debug for DecisionInput
impl Debug for DecisionInput
Source§impl Default for DecisionInput
impl Default for DecisionInput
Source§fn default() -> DecisionInput
fn default() -> DecisionInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DecisionInput
impl RefUnwindSafe for DecisionInput
impl Send for DecisionInput
impl Sync for DecisionInput
impl Unpin for DecisionInput
impl UnsafeUnpin for DecisionInput
impl UnwindSafe for DecisionInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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