pub struct PlannerOutput {
pub plan: ExecutionPlan,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Planner output: final plan and any diagnostics.
use daedalus_planner::{PlannerOutput, ExecutionPlan, Graph};
let out = PlannerOutput { plan: ExecutionPlan::new(Graph::default(), vec![]), diagnostics: vec![] };
assert!(out.diagnostics.is_empty());Fields§
§plan: ExecutionPlan§diagnostics: Vec<Diagnostic>Trait Implementations§
Source§impl Clone for PlannerOutput
impl Clone for PlannerOutput
Source§fn clone(&self) -> PlannerOutput
fn clone(&self) -> PlannerOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PlannerOutput
impl RefUnwindSafe for PlannerOutput
impl Send for PlannerOutput
impl Sync for PlannerOutput
impl Unpin for PlannerOutput
impl UnwindSafe for PlannerOutput
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