pub struct Decomposition {
pub goal: PlanningTask,
pub subtasks: Vec<PlanningTask>,
pub outputs: Vec<PlanningOutput>,
pub budget_left: u32,
}Expand description
Result of decomposing a goal and running the ordered subtasks.
Fields§
§goal: PlanningTaskOriginal goal that was decomposed.
subtasks: Vec<PlanningTask>Ordered subtasks produced by decomposition.
outputs: Vec<PlanningOutput>Output captured for each executed subtask.
budget_left: u32Remaining step budget after execution.
Trait Implementations§
Source§impl Clone for Decomposition
impl Clone for Decomposition
Source§fn clone(&self) -> Decomposition
fn clone(&self) -> Decomposition
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 Decomposition
impl Debug for Decomposition
impl Eq for Decomposition
Source§impl PartialEq for Decomposition
impl PartialEq for Decomposition
Source§fn eq(&self, other: &Decomposition) -> bool
fn eq(&self, other: &Decomposition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Decomposition
Auto Trait Implementations§
impl Freeze for Decomposition
impl RefUnwindSafe for Decomposition
impl Send for Decomposition
impl Sync for Decomposition
impl Unpin for Decomposition
impl UnsafeUnpin for Decomposition
impl UnwindSafe for Decomposition
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