pub struct DumpMutationsArgs {
pub collection: String,
pub after_id: Option<i64>,
pub limit: Option<usize>,
pub json: bool,
pub db_path: PathBuf,
}Expand description
Slice 34 — argument set for doctor dump-mutations <collection> [--after-id <n>] [--limit <n>] [--json] <db_path>. A read-only operator
diagnostic that pages the op-store mutation log over the existing
Engine::read_mutations seam.
Fields§
§collection: StringThe append_only_log collection whose appended rows to read back.
after_id: Option<i64>Exclusive cursor: return only rows with id strictly greater than this
value. A negative value is normalized to the start of the log; a value
past the last id yields an empty page.
limit: Option<usize>Maximum rows in this page (default 1000). The engine clamps the
effective SQL LIMIT to the ~1M cap, so the read is never unbounded.
json: boolEmit machine-readable JSON output.
db_path: PathBufPath to the database file to inspect.
Trait Implementations§
Source§impl Args for DumpMutationsArgs
impl Args for DumpMutationsArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for DumpMutationsArgs
impl Debug for DumpMutationsArgs
Source§impl FromArgMatches for DumpMutationsArgs
impl FromArgMatches for DumpMutationsArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for DumpMutationsArgs
impl RefUnwindSafe for DumpMutationsArgs
impl Send for DumpMutationsArgs
impl Sync for DumpMutationsArgs
impl Unpin for DumpMutationsArgs
impl UnsafeUnpin for DumpMutationsArgs
impl UnwindSafe for DumpMutationsArgs
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