pub struct SampleStats {
pub tables_sampled: usize,
pub tables_skipped: usize,
pub total_rows_selected: u64,
pub total_rows_seen: u64,
pub table_stats: Vec<TableSampleStats>,
pub warnings: Vec<String>,
pub fk_orphans_rejected: u64,
}Expand description
Statistics from sample operation
Fields§
§tables_sampled: usizeNumber of tables sampled
tables_skipped: usizeNumber of tables skipped
total_rows_selected: u64Total rows selected
total_rows_seen: u64Total rows seen
table_stats: Vec<TableSampleStats>Per-table statistics
warnings: Vec<String>Warning messages
fk_orphans_rejected: u64FK orphan count (rows rejected due to missing parents)
Trait Implementations§
Source§impl Debug for SampleStats
impl Debug for SampleStats
Source§impl Default for SampleStats
impl Default for SampleStats
Source§fn default() -> SampleStats
fn default() -> SampleStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SampleStats
impl RefUnwindSafe for SampleStats
impl Send for SampleStats
impl Sync for SampleStats
impl Unpin for SampleStats
impl UnwindSafe for SampleStats
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
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