pub struct ShellHistoryItem {
pub id: i64,
pub cwd: String,
pub command: String,
pub exit_code: Option<i32>,
pub pipe_status: Option<String>,
pub started_at: i64,
pub duration_ms: Option<i64>,
}Fields§
§id: i64§cwd: String§command: String§exit_code: Option<i32>§pipe_status: Option<String>§started_at: i64§duration_ms: Option<i64>Trait Implementations§
Source§impl Clone for ShellHistoryItem
impl Clone for ShellHistoryItem
Source§fn clone(&self) -> ShellHistoryItem
fn clone(&self) -> ShellHistoryItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShellHistoryItem
impl Debug for ShellHistoryItem
impl Eq for ShellHistoryItem
Source§impl PartialEq for ShellHistoryItem
impl PartialEq for ShellHistoryItem
impl StructuralPartialEq for ShellHistoryItem
Auto Trait Implementations§
impl Freeze for ShellHistoryItem
impl RefUnwindSafe for ShellHistoryItem
impl Send for ShellHistoryItem
impl Sync for ShellHistoryItem
impl Unpin for ShellHistoryItem
impl UnsafeUnpin for ShellHistoryItem
impl UnwindSafe for ShellHistoryItem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.