pub struct PlanningOutput {
pub task: PlanningTask,
pub content: String,
}Expand description
Output captured after running one planning task.
Fields§
§task: PlanningTaskTask that produced this output.
content: StringText content captured from the run.
Implementations§
Source§impl PlanningOutput
impl PlanningOutput
Sourcepub fn new(task: PlanningTask, content: impl Into<String>) -> Self
pub fn new(task: PlanningTask, content: impl Into<String>) -> Self
Builds an output from a task and its captured content.
Trait Implementations§
Source§impl Clone for PlanningOutput
impl Clone for PlanningOutput
Source§fn clone(&self) -> PlanningOutput
fn clone(&self) -> PlanningOutput
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 PlanningOutput
impl Debug for PlanningOutput
impl Eq for PlanningOutput
Source§impl PartialEq for PlanningOutput
impl PartialEq for PlanningOutput
Source§fn eq(&self, other: &PlanningOutput) -> bool
fn eq(&self, other: &PlanningOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlanningOutput
Auto Trait Implementations§
impl Freeze for PlanningOutput
impl RefUnwindSafe for PlanningOutput
impl Send for PlanningOutput
impl Sync for PlanningOutput
impl Unpin for PlanningOutput
impl UnsafeUnpin for PlanningOutput
impl UnwindSafe for PlanningOutput
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