pub struct TaskPlan {
pub entities: BTreeMap<ExpandedName, TaskEntityDef>,
pub tasks: Vec<PlannedTask>,
}Fields§
§entities: BTreeMap<ExpandedName, TaskEntityDef>Canonical entity registry from LiftedSchema.
tasks: Vec<PlannedTask>Planned tasks in deterministic execution / rendering order.
Implementations§
Source§impl TaskPlan
impl TaskPlan
pub fn entity_tasks(&self) -> impl Iterator<Item = &EntityTaskPlan>
pub fn relation_tasks(&self) -> impl Iterator<Item = &RelationTaskPlan>
pub fn structure_tasks(&self) -> impl Iterator<Item = &StructureTaskPlan>
pub fn classification_tasks( &self, ) -> impl Iterator<Item = &ClassificationTaskPlan>
Trait Implementations§
Source§impl TryFrom<LiftedSchema> for TaskPlan
impl TryFrom<LiftedSchema> for TaskPlan
Source§type Error = TaskPlanError
type Error = TaskPlanError
The type returned in the event of a conversion error.
Source§impl TryFrom<TaskPlan> for PromptPlan
impl TryFrom<TaskPlan> for PromptPlan
impl StructuralPartialEq for TaskPlan
Auto Trait Implementations§
impl Freeze for TaskPlan
impl RefUnwindSafe for TaskPlan
impl Send for TaskPlan
impl Sync for TaskPlan
impl Unpin for TaskPlan
impl UnsafeUnpin for TaskPlan
impl UnwindSafe for TaskPlan
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