pub struct ShellInitHistoryView {
pub profiling_enabled: bool,
pub profiles_dir: String,
pub rows: Vec<ShellInitHistoryRow>,
pub stale: bool,
pub latest_profile_when: String,
pub last_up_when: String,
}Expand description
Display payload for --history.
Fields§
§profiling_enabled: bool§profiles_dir: String§rows: Vec<ShellInitHistoryRow>§stale: boolTrue when the newest row was captured before the most recent
dodot up. Older rows in the history are obviously older —
they’re not flagged individually.
latest_profile_when: StringYYYY-MM-DD HH:MM capture time of the newest history row;
empty when no profiles exist.
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 ShellInitHistoryView
impl Clone for ShellInitHistoryView
Source§fn clone(&self) -> ShellInitHistoryView
fn clone(&self) -> ShellInitHistoryView
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 ShellInitHistoryView
impl Debug for ShellInitHistoryView
Auto Trait Implementations§
impl Freeze for ShellInitHistoryView
impl RefUnwindSafe for ShellInitHistoryView
impl Send for ShellInitHistoryView
impl Sync for ShellInitHistoryView
impl Unpin for ShellInitHistoryView
impl UnsafeUnpin for ShellInitHistoryView
impl UnwindSafe for ShellInitHistoryView
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