pub struct DataLossEstimate {
pub level: u8,
pub accessible: bool,
pub corrupt_pages_skipped: u64,
pub records_at_risk: u64,
pub pct_data_at_risk: f64,
}Expand description
Data loss estimate at a specific recovery level.
Fields§
§level: u8Recovery level (0-6).
accessible: boolWhether the table is accessible at this level.
corrupt_pages_skipped: u64Number of corrupt pages that would be skipped.
records_at_risk: u64Estimated number of records on corrupt leaf pages.
pct_data_at_risk: f64Percentage of total records at risk (0.0-100.0).
Trait Implementations§
Source§impl Clone for DataLossEstimate
impl Clone for DataLossEstimate
Source§fn clone(&self) -> DataLossEstimate
fn clone(&self) -> DataLossEstimate
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 DataLossEstimate
impl Debug for DataLossEstimate
Auto Trait Implementations§
impl Freeze for DataLossEstimate
impl RefUnwindSafe for DataLossEstimate
impl Send for DataLossEstimate
impl Sync for DataLossEstimate
impl Unpin for DataLossEstimate
impl UnsafeUnpin for DataLossEstimate
impl UnwindSafe for DataLossEstimate
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