pub struct CommandExecutionState {
pub command: String,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub extra: BTreeMap<String, Value>,
}Expand description
Snapshot of a command execution, including accumulated stdout/stderr.
Fields§
§command: String§exit_code: Option<i32>§stdout: String§stderr: String§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for CommandExecutionState
impl Clone for CommandExecutionState
Source§fn clone(&self) -> CommandExecutionState
fn clone(&self) -> CommandExecutionState
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 Debug for CommandExecutionState
impl Debug for CommandExecutionState
Source§impl<'de> Deserialize<'de> for CommandExecutionState
impl<'de> Deserialize<'de> for CommandExecutionState
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 CommandExecutionState
impl RefUnwindSafe for CommandExecutionState
impl Send for CommandExecutionState
impl Sync for CommandExecutionState
impl Unpin for CommandExecutionState
impl UnsafeUnpin for CommandExecutionState
impl UnwindSafe for CommandExecutionState
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