pub struct PlanResult {
pub plan: ExecutionPlan,
pub quality_score: u32,
pub suggestions: Vec<String>,
}Expand description
规划结果
Fields§
§plan: ExecutionPlan执行计划
quality_score: u32分解质量评分 (0-100)
suggestions: Vec<String>分解建议
Implementations§
Source§impl PlanResult
impl PlanResult
Sourcepub fn new(plan: ExecutionPlan) -> Self
pub fn new(plan: ExecutionPlan) -> Self
创建新的规划结果
Trait Implementations§
Source§impl Clone for PlanResult
impl Clone for PlanResult
Source§fn clone(&self) -> PlanResult
fn clone(&self) -> PlanResult
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 moreAuto Trait Implementations§
impl Freeze for PlanResult
impl RefUnwindSafe for PlanResult
impl Send for PlanResult
impl Sync for PlanResult
impl Unpin for PlanResult
impl UnsafeUnpin for PlanResult
impl UnwindSafe for PlanResult
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