pub struct IndexImpact {
pub index_id: u64,
pub index_name: Option<String>,
pub is_clustered: bool,
pub total_pages: u64,
pub intact_pages: u64,
pub corrupt_pages: u64,
pub empty_pages: u64,
pub total_records: u64,
pub lost_records_by_level: BTreeMap<u8, u64>,
}Expand description
Per-index impact summary.
Fields§
§index_id: u64InnoDB internal index ID.
index_name: Option<String>Index name from SDI metadata (if available).
is_clustered: boolWhether this is the clustered (primary) index.
total_pages: u64Total pages belonging to this index.
intact_pages: u64Pages with valid checksums.
corrupt_pages: u64Pages with invalid checksums.
empty_pages: u64All-zero pages belonging to this index.
total_records: u64Total user records across intact leaf pages.
lost_records_by_level: BTreeMap<u8, u64>Records at risk (on corrupt leaf pages) at each recovery level.
Trait Implementations§
Source§impl Clone for IndexImpact
impl Clone for IndexImpact
Source§fn clone(&self) -> IndexImpact
fn clone(&self) -> IndexImpact
Returns a duplicate of the value. Read more
1.0.0 · 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 IndexImpact
impl Debug for IndexImpact
Auto Trait Implementations§
impl Freeze for IndexImpact
impl RefUnwindSafe for IndexImpact
impl Send for IndexImpact
impl Sync for IndexImpact
impl Unpin for IndexImpact
impl UnsafeUnpin for IndexImpact
impl UnwindSafe for IndexImpact
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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