pub struct InspectArgs {
pub common: CommonOpts,
pub json_output: bool,
pub records_to_show: Option<usize>,
pub record_index: Option<usize>,
pub verify_hash: bool,
}Expand description
All CLI flags for nxs-inspect. One field per spec flag.
Fields§
§common: CommonOpts§json_output: bool--json — emit structured JSON instead of text.
records_to_show: Option<usize>--records <N|all> — how many records to summarize. None = all.
record_index: Option<usize>--record-index <N> — decode exactly one record by zero-based index (O(1) via tail-index).
Mutually exclusive with --records.
verify_hash: bool--verify-hash — recompute DictHash and compare to preamble.
Trait Implementations§
Source§impl Debug for InspectArgs
impl Debug for InspectArgs
Source§impl Default for InspectArgs
impl Default for InspectArgs
Source§fn default() -> InspectArgs
fn default() -> InspectArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InspectArgs
impl RefUnwindSafe for InspectArgs
impl Send for InspectArgs
impl Sync for InspectArgs
impl Unpin for InspectArgs
impl UnsafeUnpin for InspectArgs
impl UnwindSafe for InspectArgs
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