pub struct AuditOptions {Show 13 fields
pub datadir: String,
pub health: bool,
pub checksum_mismatch: bool,
pub verbose: bool,
pub json: bool,
pub csv: bool,
pub prometheus: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub mmap: bool,
pub min_fill_factor: Option<f64>,
pub max_fragmentation: Option<f64>,
pub depth: Option<u32>,
}Expand description
Options for the inno audit subcommand.
Fields§
§datadir: StringMySQL data directory path to scan.
health: boolShow per-tablespace health metrics instead of integrity validation.
checksum_mismatch: boolList only pages with checksum mismatches.
verbose: boolShow additional details.
json: boolEmit output as JSON.
csv: boolOutput as CSV.
prometheus: boolOutput in Prometheus exposition format.
page_size: Option<u32>Override the auto-detected page size.
keyring: Option<String>Path to MySQL keyring file for decrypting encrypted tablespaces.
mmap: boolUse memory-mapped I/O for file access.
min_fill_factor: Option<f64>Show tables with fill factor below this threshold (0-100).
max_fragmentation: Option<f64>Show tables with fragmentation above this threshold (0-100).
depth: Option<u32>Maximum directory recursion depth (None = default 2, Some(0) = unlimited).
Auto Trait Implementations§
impl Freeze for AuditOptions
impl RefUnwindSafe for AuditOptions
impl Send for AuditOptions
impl Sync for AuditOptions
impl Unpin for AuditOptions
impl UnsafeUnpin for AuditOptions
impl UnwindSafe for AuditOptions
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