pub struct CommandExecutionItem {
pub id: String,
pub command: String,
pub aggregated_output: String,
pub exit_code: Option<i32>,
pub status: CommandExecutionStatus,
}Expand description
Command execution output item.
Fields§
§id: StringUnique item id.
command: StringShell command text executed by the agent.
aggregated_output: StringAggregated stdout/stderr text emitted so far.
exit_code: Option<i32>Process exit code when available.
status: CommandExecutionStatusCurrent command lifecycle status.
Trait 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
Source§impl PartialEq for CommandExecutionItem
impl PartialEq for CommandExecutionItem
Source§impl Serialize for CommandExecutionItem
impl Serialize for CommandExecutionItem
impl Eq for CommandExecutionItem
impl StructuralPartialEq for CommandExecutionItem
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