pub struct CommandHistoryEntry {
pub command: String,
pub stdout: String,
pub stderr: String,
pub exit_code: Option<i32>,
pub timestamp: f64,
pub working_directory: String,
pub file_operations: Option<Vec<FileOperation>>,
}Fields§
§command: String§stdout: String§stderr: String§exit_code: Option<i32>§timestamp: f64§working_directory: String§file_operations: Option<Vec<FileOperation>>Trait Implementations§
Source§impl Clone for CommandHistoryEntry
impl Clone for CommandHistoryEntry
Source§fn clone(&self) -> CommandHistoryEntry
fn clone(&self) -> CommandHistoryEntry
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 CommandHistoryEntry
impl Debug for CommandHistoryEntry
Source§impl<'de> Deserialize<'de> for CommandHistoryEntry
impl<'de> Deserialize<'de> for CommandHistoryEntry
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 CommandHistoryEntry
impl RefUnwindSafe for CommandHistoryEntry
impl Send for CommandHistoryEntry
impl Sync for CommandHistoryEntry
impl Unpin for CommandHistoryEntry
impl UnwindSafe for CommandHistoryEntry
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