pub struct ShellInitHistoryRow {
pub filename: String,
pub unix_ts: u64,
pub when: String,
pub shell: String,
pub total_label: String,
pub user_total_label: String,
pub total_us: u64,
pub user_total_us: u64,
pub failed_entries: usize,
pub entry_count: usize,
}Expand description
One per-run row in --history.
Fields§
§filename: StringFilename of the underlying TSV — useful for cross-reference and keeps history rows traceable to the on-disk artefact.
unix_ts: u64Unix timestamp parsed from the filename (or 0 when the
filename doesn’t follow the expected pattern). Surfaced in JSON
so machine consumers can do their own date math without
re-parsing filename.
when: StringCompact YYYY-MM-DD HH:MM formatted from the unix timestamp in
the filename. Empty when the timestamp couldn’t be parsed.
shell: String§total_label: String§user_total_label: String§total_us: u64§user_total_us: u64§failed_entries: usize§entry_count: usizeTrait Implementations§
Source§impl Clone for ShellInitHistoryRow
impl Clone for ShellInitHistoryRow
Source§fn clone(&self) -> ShellInitHistoryRow
fn clone(&self) -> ShellInitHistoryRow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellInitHistoryRow
impl Debug for ShellInitHistoryRow
Auto Trait Implementations§
impl Freeze for ShellInitHistoryRow
impl RefUnwindSafe for ShellInitHistoryRow
impl Send for ShellInitHistoryRow
impl Sync for ShellInitHistoryRow
impl Unpin for ShellInitHistoryRow
impl UnsafeUnpin for ShellInitHistoryRow
impl UnwindSafe for ShellInitHistoryRow
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