pub struct ShellInitAggregateView {
pub runs: usize,
pub requested_runs: usize,
pub profiling_enabled: bool,
pub profiles_dir: String,
pub rows: Vec<ShellInitAggregateRow>,
pub stale: bool,
pub latest_profile_when: String,
pub last_up_when: String,
}Expand description
Display payload for --runs N.
Fields§
§runs: usizeHow many profiles were actually loaded (may be smaller than the requested N if there aren’t enough on disk yet).
requested_runs: usizeUser-requested N (echoed back so the renderer can say “showing 4 of last 10 requested”).
profiling_enabled: bool§profiles_dir: String§rows: Vec<ShellInitAggregateRow>§stale: boolTrue when the newest aggregated profile was captured before the
most recent dodot up. The renderer prints a freshness banner
in that case so the user knows to open a new shell.
latest_profile_when: StringYYYY-MM-DD HH:MM capture time of the newest aggregated
profile; empty when no profiles were loaded.
last_up_when: StringYYYY-MM-DD HH:MM of the most recent dodot up; empty when
up has never run on this machine.
Trait Implementations§
Source§impl Clone for ShellInitAggregateView
impl Clone for ShellInitAggregateView
Source§fn clone(&self) -> ShellInitAggregateView
fn clone(&self) -> ShellInitAggregateView
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 ShellInitAggregateView
impl Debug for ShellInitAggregateView
Auto Trait Implementations§
impl Freeze for ShellInitAggregateView
impl RefUnwindSafe for ShellInitAggregateView
impl Send for ShellInitAggregateView
impl Sync for ShellInitAggregateView
impl Unpin for ShellInitAggregateView
impl UnsafeUnpin for ShellInitAggregateView
impl UnwindSafe for ShellInitAggregateView
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