pub struct PlanningTask {
pub id: String,
pub prompt: String,
}Expand description
Unit of work produced by planning combinators.
Fields§
§id: StringStable task identifier.
prompt: StringPrompt that drives the task.
Implementations§
Trait Implementations§
Source§impl Clone for PlanningTask
impl Clone for PlanningTask
Source§fn clone(&self) -> PlanningTask
fn clone(&self) -> PlanningTask
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 PlanningTask
impl Debug for PlanningTask
impl Eq for PlanningTask
Source§impl PartialEq for PlanningTask
impl PartialEq for PlanningTask
Source§fn eq(&self, other: &PlanningTask) -> bool
fn eq(&self, other: &PlanningTask) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlanningTask
Auto Trait Implementations§
impl Freeze for PlanningTask
impl RefUnwindSafe for PlanningTask
impl Send for PlanningTask
impl Sync for PlanningTask
impl Unpin for PlanningTask
impl UnsafeUnpin for PlanningTask
impl UnwindSafe for PlanningTask
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