pub struct CommandExecutionItem {
pub id: String,
pub command: String,
pub aggregated_output: String,
pub exit_code: Option<i32>,
pub status: CommandExecutionStatus,
}Expand description
A command execution item — a shell command the agent ran.
Fields§
§id: String§command: StringThe shell command that was executed.
aggregated_output: StringCombined stdout/stderr output from the command.
exit_code: Option<i32>Exit code, if the command has finished.
status: CommandExecutionStatusTrait Implementations§
Source§impl Clone for CommandExecutionItem
impl Clone for CommandExecutionItem
Source§fn clone(&self) -> CommandExecutionItem
fn clone(&self) -> CommandExecutionItem
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 CommandExecutionItem
impl Debug for CommandExecutionItem
Source§impl<'de> Deserialize<'de> for CommandExecutionItem
impl<'de> Deserialize<'de> for CommandExecutionItem
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 CommandExecutionItem
impl RefUnwindSafe for CommandExecutionItem
impl Send for CommandExecutionItem
impl Sync for CommandExecutionItem
impl Unpin for CommandExecutionItem
impl UnsafeUnpin for CommandExecutionItem
impl UnwindSafe for CommandExecutionItem
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