pub struct LevelAssessment {
pub level: u8,
pub name: &'static str,
pub description: &'static str,
pub tables_accessible: u64,
pub total_tables: u64,
pub tables_with_data_loss: u64,
pub total_records_at_risk: u64,
pub pct_overall_risk: f64,
pub warnings: Vec<String>,
}Expand description
Assessment of a single recovery level across the entire tablespace.
Fields§
§level: u8Recovery level (0-6).
name: &'static strMySQL constant name (e.g., “SRV_FORCE_IGNORE_CORRUPT”).
description: &'static strHuman-readable description.
tables_accessible: u64Number of tables accessible at this level.
total_tables: u64Total number of tables.
tables_with_data_loss: u64Number of tables that would lose some data.
total_records_at_risk: u64Total records at risk across all tables.
pct_overall_risk: f64Overall percentage of data at risk.
warnings: Vec<String>Level-specific warnings.
Trait Implementations§
Source§impl Clone for LevelAssessment
impl Clone for LevelAssessment
Source§fn clone(&self) -> LevelAssessment
fn clone(&self) -> LevelAssessment
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 LevelAssessment
impl Debug for LevelAssessment
Auto Trait Implementations§
impl Freeze for LevelAssessment
impl RefUnwindSafe for LevelAssessment
impl Send for LevelAssessment
impl Sync for LevelAssessment
impl Unpin for LevelAssessment
impl UnsafeUnpin for LevelAssessment
impl UnwindSafe for LevelAssessment
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