pub struct HistoryEntry {
pub filename: String,
pub unix_ts: u64,
pub shell: String,
pub total_us: u64,
pub user_total_us: u64,
pub failed_entries: usize,
pub entry_count: usize,
}Expand description
One row in the history view: a single run’s headline metrics.
Fields§
§filename: String§unix_ts: u64Best-effort unix timestamp parsed from the filename. 0 if the
filename doesn’t match profile-<unix_ts>-….
shell: String§total_us: u64§user_total_us: u64§failed_entries: usizeCount of entries with non-zero exit_status — surfaces silent breakage at a glance.
entry_count: usizeTrait Implementations§
Source§impl Clone for HistoryEntry
impl Clone for HistoryEntry
Source§fn clone(&self) -> HistoryEntry
fn clone(&self) -> HistoryEntry
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 HistoryEntry
impl Debug for HistoryEntry
Auto Trait Implementations§
impl Freeze for HistoryEntry
impl RefUnwindSafe for HistoryEntry
impl Send for HistoryEntry
impl Sync for HistoryEntry
impl Unpin for HistoryEntry
impl UnsafeUnpin for HistoryEntry
impl UnwindSafe for HistoryEntry
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