pub struct Reflection {
pub accept: bool,
pub critique: String,
pub retry: Option<PlanningTask>,
pub retry_output: Option<PlanningOutput>,
pub budget_left: u32,
}Expand description
Critique result, including a bounded retry when the runner asks for one.
Fields§
§accept: boolWhether the runner accepted the output.
critique: StringCritique text explaining the verdict.
retry: Option<PlanningTask>Retry task requested by the runner, when any.
retry_output: Option<PlanningOutput>Output captured from the executed retry, when one ran.
budget_left: u32Remaining retry budget after reflection.
Trait Implementations§
Source§impl Clone for Reflection
impl Clone for Reflection
Source§fn clone(&self) -> Reflection
fn clone(&self) -> Reflection
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 moreSource§impl Debug for Reflection
impl Debug for Reflection
impl Eq for Reflection
Source§impl PartialEq for Reflection
impl PartialEq for Reflection
Source§fn eq(&self, other: &Reflection) -> bool
fn eq(&self, other: &Reflection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Reflection
Auto Trait Implementations§
impl Freeze for Reflection
impl RefUnwindSafe for Reflection
impl Send for Reflection
impl Sync for Reflection
impl Unpin for Reflection
impl UnsafeUnpin for Reflection
impl UnwindSafe for Reflection
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