pub struct TerminalCommandFinishedAction {
pub command_id: String,
pub exit_code: Option<i64>,
pub duration_ms: Option<i64>,
}Expand description
A command has finished executing.
The sequence of terminal/data actions between the preceding
terminal/commandExecuted (same commandId) and this action constitutes
the complete output of the command.
Fields§
§command_id: StringMatches the commandId from the corresponding commandExecuted
exit_code: Option<i64>Shell exit code. undefined if the shell did not report one.
duration_ms: Option<i64>Wall-clock duration of the command in milliseconds, as measured by the shell integration script on the server side.
Trait Implementations§
Source§impl Clone for TerminalCommandFinishedAction
impl Clone for TerminalCommandFinishedAction
Source§fn clone(&self) -> TerminalCommandFinishedAction
fn clone(&self) -> TerminalCommandFinishedAction
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 TerminalCommandFinishedAction
impl<'de> Deserialize<'de> for TerminalCommandFinishedAction
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 TerminalCommandFinishedAction
impl PartialEq for TerminalCommandFinishedAction
Source§fn eq(&self, other: &TerminalCommandFinishedAction) -> bool
fn eq(&self, other: &TerminalCommandFinishedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TerminalCommandFinishedAction
Auto Trait Implementations§
impl Freeze for TerminalCommandFinishedAction
impl RefUnwindSafe for TerminalCommandFinishedAction
impl Send for TerminalCommandFinishedAction
impl Sync for TerminalCommandFinishedAction
impl Unpin for TerminalCommandFinishedAction
impl UnsafeUnpin for TerminalCommandFinishedAction
impl UnwindSafe for TerminalCommandFinishedAction
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