pub struct CommandReport {
pub name: String,
pub success: bool,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
}Expand description
Result of running a local command.
Fields§
§name: StringLogical check or command name.
success: boolExit status.
exit_code: Option<i32>Exit code when available.
stdout: StringCaptured stdout.
stderr: StringCaptured stderr.
Trait Implementations§
Source§impl Clone for CommandReport
impl Clone for CommandReport
Source§fn clone(&self) -> CommandReport
fn clone(&self) -> CommandReport
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 CommandReport
impl Debug for CommandReport
Source§impl<'de> Deserialize<'de> for CommandReport
impl<'de> Deserialize<'de> for CommandReport
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 CommandReport
impl RefUnwindSafe for CommandReport
impl Send for CommandReport
impl Sync for CommandReport
impl Unpin for CommandReport
impl UnsafeUnpin for CommandReport
impl UnwindSafe for CommandReport
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