pub struct BashHistoryEntry {
pub pid: u32,
pub comm: String,
pub command: String,
pub sequence: usize,
}Expand description
A single bash command history entry recovered from memory.
Fields§
§pid: u32Process ID of the bash shell this entry was recovered from.
comm: StringProcess command name (task_struct.comm, typically "bash").
command: StringThe shell command string.
sequence: usizeOrdinal position within the extracted history (0-based).
Trait Implementations§
Source§impl Clone for BashHistoryEntry
impl Clone for BashHistoryEntry
Source§fn clone(&self) -> BashHistoryEntry
fn clone(&self) -> BashHistoryEntry
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 BashHistoryEntry
impl Debug for BashHistoryEntry
Source§impl<'de> Deserialize<'de> for BashHistoryEntry
impl<'de> Deserialize<'de> for BashHistoryEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BashHistoryEntry
impl RefUnwindSafe for BashHistoryEntry
impl Send for BashHistoryEntry
impl Sync for BashHistoryEntry
impl Unpin for BashHistoryEntry
impl UnsafeUnpin for BashHistoryEntry
impl UnwindSafe for BashHistoryEntry
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