pub struct SQLQueryPlan {
pub nodes: Vec<SQLQueryPlanNode>,
pub total_cost: f64,
pub estimated_rows: u64,
}Fields§
§nodes: Vec<SQLQueryPlanNode>§total_cost: f64§estimated_rows: u64Implementations§
Source§impl SQLQueryPlan
impl SQLQueryPlan
pub fn new() -> Self
pub fn add_node(&mut self, node: SQLQueryPlanNode)
pub fn has_seq_scan(&self) -> bool
pub fn has_index_scan(&self) -> bool
pub fn describe(&self) -> String
Auto Trait Implementations§
impl Freeze for SQLQueryPlan
impl RefUnwindSafe for SQLQueryPlan
impl Send for SQLQueryPlan
impl Sync for SQLQueryPlan
impl Unpin for SQLQueryPlan
impl UnsafeUnpin for SQLQueryPlan
impl UnwindSafe for SQLQueryPlan
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