pub struct CmdOutput {
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
pub stdout_truncated: bool,
pub stderr_truncated: bool,
}Expand description
Output of a command execution.
Fields§
§exit_code: i32§stdout: String§stderr: String§stdout_truncated: bool§stderr_truncated: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for CmdOutput
impl<'de> Deserialize<'de> for CmdOutput
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 Eq for CmdOutput
impl StructuralPartialEq for CmdOutput
Auto Trait Implementations§
impl Freeze for CmdOutput
impl RefUnwindSafe for CmdOutput
impl Send for CmdOutput
impl Sync for CmdOutput
impl Unpin for CmdOutput
impl UnsafeUnpin for CmdOutput
impl UnwindSafe for CmdOutput
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