pub struct InfoOptions {
pub ibdata: bool,
pub lsn_check: bool,
pub datadir: Option<String>,
pub database: Option<String>,
pub table: Option<String>,
pub host: Option<String>,
pub port: Option<u16>,
pub user: Option<String>,
pub password: Option<String>,
pub defaults_file: Option<String>,
pub json: bool,
pub page_size: Option<u32>,
}Expand description
Options for the inno info subcommand.
Fields§
§ibdata: boolInspect the ibdata1 page 0 header.
lsn_check: boolCompare ibdata1 and redo log checkpoint LSNs.
datadir: Option<String>MySQL data directory path (defaults to /var/lib/mysql).
database: Option<String>Database name (for MySQL table/index queries, requires mysql feature).
table: Option<String>Table name (for MySQL table/index queries, requires mysql feature).
host: Option<String>MySQL host for live queries.
port: Option<u16>MySQL port for live queries.
user: Option<String>MySQL user for live queries.
password: Option<String>MySQL password for live queries.
defaults_file: Option<String>Path to a MySQL defaults file (.my.cnf).
json: boolEmit output as JSON.
page_size: Option<u32>Override the auto-detected page size.
Auto Trait Implementations§
impl Freeze for InfoOptions
impl RefUnwindSafe for InfoOptions
impl Send for InfoOptions
impl Sync for InfoOptions
impl Unpin for InfoOptions
impl UnwindSafe for InfoOptions
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