pub struct RowCountEstimate {
pub count: u64,
pub exact: bool,
pub method: CountMethod,
pub count_time_ms: u128,
}Expand description
Result of a quick row count operation.
Fields§
§count: u64The estimated or exact row count.
exact: boolWhether the count is exact or an estimate.
method: CountMethodHow the count was obtained.
count_time_ms: u128Time taken in milliseconds.
Trait Implementations§
Source§impl Clone for RowCountEstimate
impl Clone for RowCountEstimate
Source§fn clone(&self) -> RowCountEstimate
fn clone(&self) -> RowCountEstimate
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 RowCountEstimate
impl Debug for RowCountEstimate
Source§impl<'de> Deserialize<'de> for RowCountEstimate
impl<'de> Deserialize<'de> for RowCountEstimate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RowCountEstimate
impl RefUnwindSafe for RowCountEstimate
impl Send for RowCountEstimate
impl Sync for RowCountEstimate
impl Unpin for RowCountEstimate
impl UnsafeUnpin for RowCountEstimate
impl UnwindSafe for RowCountEstimate
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