pub struct CommandRunOutput {
pub success: bool,
pub stdout: String,
pub stderr: String,
pub status: Option<i32>,
pub error: Option<String>,
}Fields§
§success: bool§stdout: String§stderr: String§status: Option<i32>§error: Option<String>Trait Implementations§
Source§impl Clone for CommandRunOutput
impl Clone for CommandRunOutput
Source§fn clone(&self) -> CommandRunOutput
fn clone(&self) -> CommandRunOutput
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 CommandRunOutput
impl Debug for CommandRunOutput
Source§impl Default for CommandRunOutput
impl Default for CommandRunOutput
Source§fn default() -> CommandRunOutput
fn default() -> CommandRunOutput
Returns the “default value” for a type. Read more
impl Eq for CommandRunOutput
Source§impl PartialEq for CommandRunOutput
impl PartialEq for CommandRunOutput
Source§fn eq(&self, other: &CommandRunOutput) -> bool
fn eq(&self, other: &CommandRunOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandRunOutput
Auto Trait Implementations§
impl Freeze for CommandRunOutput
impl RefUnwindSafe for CommandRunOutput
impl Send for CommandRunOutput
impl Sync for CommandRunOutput
impl Unpin for CommandRunOutput
impl UnsafeUnpin for CommandRunOutput
impl UnwindSafe for CommandRunOutput
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