pub struct HistoryEntry {
pub id: i64,
pub command: String,
pub timestamp: Option<i64>,
pub working_directory: Option<BString>,
pub hostname: Option<BString>,
pub exit_status: Option<i32>,
pub duration_secs: Option<i64>,
pub use_count: u32,
}Expand description
A history entry with its metadata
Fields§
§id: i64§command: String§timestamp: Option<i64>§working_directory: Option<BString>§hostname: Option<BString>§exit_status: Option<i32>§duration_secs: Option<i64>§use_count: u32Occurrences of this command within the loaded window. Rows load as 1; the recall dedup pass accumulates collapsed duplicates here.
Trait Implementations§
Source§impl Clone for HistoryEntry
impl Clone 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more