pub struct TerminalCommandExecutedAction {
pub command_id: String,
pub command_line: String,
pub timestamp: i64,
}Expand description
A command has been submitted to the shell and is now executing.
All subsequent terminal/data actions (until the matching
terminal/commandFinished) constitute this command’s output.
Fields§
§command_id: StringStable identifier for this command, scoped to the terminal URI.
Allows correlating commandExecuted → commandFinished pairs.
command_line: StringThe command line text that was submitted
timestamp: i64Unix timestamp (ms) of when the command started executing, as measured on the server.
Trait Implementations§
Source§impl Clone for TerminalCommandExecutedAction
impl Clone for TerminalCommandExecutedAction
Source§fn clone(&self) -> TerminalCommandExecutedAction
fn clone(&self) -> TerminalCommandExecutedAction
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<'de> Deserialize<'de> for TerminalCommandExecutedAction
impl<'de> Deserialize<'de> for TerminalCommandExecutedAction
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
Source§impl PartialEq for TerminalCommandExecutedAction
impl PartialEq for TerminalCommandExecutedAction
Source§fn eq(&self, other: &TerminalCommandExecutedAction) -> bool
fn eq(&self, other: &TerminalCommandExecutedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TerminalCommandExecutedAction
Auto Trait Implementations§
impl Freeze for TerminalCommandExecutedAction
impl RefUnwindSafe for TerminalCommandExecutedAction
impl Send for TerminalCommandExecutedAction
impl Sync for TerminalCommandExecutedAction
impl Unpin for TerminalCommandExecutedAction
impl UnsafeUnpin for TerminalCommandExecutedAction
impl UnwindSafe for TerminalCommandExecutedAction
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