pub struct PreparedQueryStats {
pub parameter_count: usize,
pub plan_type: String,
pub estimated_cost: f64,
pub estimated_rows: u64,
pub cache_friendly: bool,
}Expand description
Statistics for prepared queries
Fields§
§parameter_count: usizeNumber of parameters
plan_type: StringPlan type
estimated_cost: f64Estimated execution cost
estimated_rows: u64Estimated rows returned
cache_friendly: boolWhether query is cache-friendly
Trait Implementations§
Source§impl Clone for PreparedQueryStats
impl Clone for PreparedQueryStats
Source§fn clone(&self) -> PreparedQueryStats
fn clone(&self) -> PreparedQueryStats
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 PreparedQueryStats
impl RefUnwindSafe for PreparedQueryStats
impl Send for PreparedQueryStats
impl Sync for PreparedQueryStats
impl Unpin for PreparedQueryStats
impl UnsafeUnpin for PreparedQueryStats
impl UnwindSafe for PreparedQueryStats
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