pub struct CommandExecutionThreadItem {Show 14 fields
pub aggregated_output: Option<String>,
pub command: String,
pub command_actions: Vec<CommandAction>,
pub completed_at_ms: Option<i64>,
pub cwd: LegacyAppPathString,
pub duration_ms: Option<i64>,
pub exit_code: Option<i64>,
pub id: String,
pub plugin_id: Option<String>,
pub process_id: Option<String>,
pub script_path: Option<String>,
pub source: Option<CommandExecutionSource>,
pub started_at_ms: Option<i64>,
pub status: CommandExecutionStatus,
}Fields§
§aggregated_output: Option<String>The command’s output, aggregated from stdout and stderr.
command: StringThe command to be executed.
command_actions: Vec<CommandAction>A best-effort parsing of the command to understand the action(s) it will perform. This returns a list of CommandAction objects because a single shell command may be composed of many commands piped together.
completed_at_ms: Option<i64>Unix timestamp in milliseconds when the item completed, if recorded.
cwd: LegacyAppPathStringThe command’s working directory.
duration_ms: Option<i64>The duration of the command execution in milliseconds.
exit_code: Option<i64>The command’s exit code.
id: String§plugin_id: Option<String>Trusted first-party plugin id when this command resolves to one plugin script.
process_id: Option<String>Identifier for the underlying PTY process (when available).
script_path: Option<String>Safe plugin-relative path when this command resolves to one plugin script.
source: Option<CommandExecutionSource>§started_at_ms: Option<i64>Unix timestamp in milliseconds when the item started, if recorded.
status: CommandExecutionStatusTrait Implementations§
Source§impl Clone for CommandExecutionThreadItem
impl Clone for CommandExecutionThreadItem
Source§impl Debug for CommandExecutionThreadItem
impl Debug for CommandExecutionThreadItem
Source§impl<'de> Deserialize<'de> for CommandExecutionThreadItem
impl<'de> Deserialize<'de> for CommandExecutionThreadItem
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
impl StructuralPartialEq for CommandExecutionThreadItem
Auto Trait Implementations§
impl Forget for CommandExecutionThreadItem
impl Freeze for CommandExecutionThreadItem
impl RefUnwindSafe for CommandExecutionThreadItem
impl Send for CommandExecutionThreadItem
impl Sync for CommandExecutionThreadItem
impl Unpin for CommandExecutionThreadItem
impl UnsafeUnpin for CommandExecutionThreadItem
impl UnwindSafe for CommandExecutionThreadItem
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