pub struct PlanEstimates {
pub total_rows: u64,
pub temp_storage_bytes: u64,
pub verification_cost: u64,
}Expand description
Cost and size estimates for a plan.
Compilation records total_rows; estimates not calculated for the current
plan remain zero.
Fields§
§total_rows: u64Sum of every selected table’s resolved row count.
temp_storage_bytes: u64Peak temporary storage for buffered or family state, when estimated.
verification_cost: u64Estimated verification cost, when calculated.
Trait Implementations§
Source§impl Clone for PlanEstimates
impl Clone for PlanEstimates
Source§fn clone(&self) -> PlanEstimates
fn clone(&self) -> PlanEstimates
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 PlanEstimates
impl Debug for PlanEstimates
Source§impl Default for PlanEstimates
impl Default for PlanEstimates
Source§fn default() -> PlanEstimates
fn default() -> PlanEstimates
Returns the “default value” for a type. Read more
impl Eq for PlanEstimates
Source§impl PartialEq for PlanEstimates
impl PartialEq for PlanEstimates
impl StructuralPartialEq for PlanEstimates
Auto Trait Implementations§
impl Freeze for PlanEstimates
impl RefUnwindSafe for PlanEstimates
impl Send for PlanEstimates
impl Sync for PlanEstimates
impl Unpin for PlanEstimates
impl UnsafeUnpin for PlanEstimates
impl UnwindSafe for PlanEstimates
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more