pub struct BinlogOptions {
pub file: String,
pub limit: Option<usize>,
pub filter_type: Option<String>,
pub verbose: bool,
pub json: bool,
pub csv: bool,
}Expand description
Options for the inno binlog subcommand.
Fields§
§file: StringPath to the MySQL binary log file.
limit: Option<usize>Maximum number of events to display.
filter_type: Option<String>Filter events by type name (e.g. “TABLE_MAP”, “WRITE_ROWS”).
verbose: boolShow additional detail (column types for TABLE_MAP events).
json: boolOutput in JSON format.
csv: boolOutput as CSV.
Auto Trait Implementations§
impl Freeze for BinlogOptions
impl RefUnwindSafe for BinlogOptions
impl Send for BinlogOptions
impl Sync for BinlogOptions
impl Unpin for BinlogOptions
impl UnsafeUnpin for BinlogOptions
impl UnwindSafe for BinlogOptions
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